Table of Contents

TTMSFNCGanttChartDatabaseAdapterItemSource Class

Maps dataset fields to task properties used by the database adapter.

API unit family: TMSFNCGanttChartDatabaseAdapter Inherits from: TPersistent

Syntax

TTMSFNCGanttChartDatabaseAdapterItemSource = class(TPersistent)

Remarks

Assign field names to the published properties so the adapter can read tasks from a dataset and write task changes back to the same fields.

Properties

Name Description
AutoIncrementDBKey When True, generates a database key for new tasks that do not yet have one.
DBKey Field name that stores the persistent database key for the task.
DataSource Dataset source that contains the task records.
Dependencies Field name that stores serialized task dependency data.
Description Field name that stores the task description.
Duration Field name that stores the task duration value.
IsEventMarker Field name that stores whether the task is an event marker.
PlannedEnd Field name that stores the planned end date and time.
PlannedStart Field name that stores the planned start date and time.
Progress Field name that stores the task progress percentage.
StateName Field name that stores the task state name.
TaskName Field name that stores the task name.
WBS Field name that stores the task work breakdown structure value.
WorkTimePolicy Field name that stores the task work-time policy.