EntityDAC

TCustomContext.Create Constructor

Creates a new instance of the data context.

Class

TCustomContext

Syntax

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

Remarks

Use the constructor to create a new data context instance at run-time and simultaneously associate it with a connection and a meta-model. After creating a data context instance, it can be additionally configured by setting the TCustomContext.Options property.

See Also

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