EntityDAC

TCustomContext.Create Constructor

Creates a new instance of the data context.

Class

TCustomContext

Syntax

constructor Create(AOwner: TComponent; AModel: TMetaModel; AConnection: TEntityConnection); reintroduce; overload; virtual;

Remarks

The constructor is used to create a new TCustomContext descendant such as TEntityContext at design-time and simultaneously associate it with a connection and a meta-model. After creating a data context component instance, it can be additionally configured by setting the TCustomContext.Options property.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback