EntityDAC

TEntityConnection.DefaultModel Property

Specifies the default meta model for all associated data contexts.

Class

TEntityConnection

Syntax

property DefaultModel: TMetaModel;

Remarks

The property defines the default meta model which is used by data contexts associated with the connection.

Read the DefaultModel property to access the instance of the default meta model. To set the default model, the DefaultModelName property is used.

A data context can override the default connection settings and use different meta model by setting the TCustomContext.ModelName property.

See Also

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