EntityDAC

TEntityConnection.DefaultModelName Property

Specifies the name of the default meta model for all associated data contexts.

Class

TEntityConnection

Syntax

property DefaultModelName: string;

Remarks

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

Read the DefaultModelName property to determine the name of the current meta model. Set the name of the property to specify the current meta model. When the valid model name is set, the corresponding meta model instance can be accessed through the DefaultModel property.

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

See Also

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