EntityDAC

TDataContext.Types Property(Indexer)

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

Class

TDataContext

Syntax

property Types[Name: string]: IMetaType; default;

Parameters
Name
The name of the meta-type.

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