EntityDAC

TDataContext.Types

The property is designed to determine a meta-type by a meta-type name.

Unit

Syntax

Remarks

The property returns a meta-type by a specified name. The returned meta-type is used when calling the TCustomEntityContext.CreateEntity, TCustomEntityContext.CreateAttachedEntity, TCustomEntityContext.GetEntity, TCustomEntityContext.GetEntities methods for type identification of a retrieved entity.

The specified meta-type name is case-insensitive. If a meta-type with the specified name doesn't exist, an exception will be generated.

See Also

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