TObjectContext.ModelName Property

Specifies the name of the meta model used by the data context.




property ModelName: string;


The property specifies the name of the meta model which is used by the data context.

Read the ModelName property to determine the name of used meta model. Set the name of the property to specify the used meta model. When the valid model name is set, the corresponding meta model instance can be accessed through the TCustomContext.Model property. Unless the meta model name is not specified using ModelName, the default connection meta model specified by the TEntityConnection.DefaultModelName property is used.

See Also

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