EntityDAC

TCustomContext.Create Constructor

Creates a new instance of the data context.

Class

TCustomContext

Syntax

constructor Create; reintroduce; overload; virtual;

Remarks

Use the constructor to create a new data context instance at run-time. After creating a data context instance, it should be configured by setting TCustomContext.Connection, TCustomContext.ModelName, TCustomContext.Options properties etc.

To create a data context instance and simultaneously associate it with a connection and a meta-model, use overloaded constructors instead.

See Also

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