EntityDAC

TEntity.AttributeByName Method

Returns an entity attribute by its name.

Class

TEntity

Syntax

function AttributeByName(const Name: string): TEntityAttribute;

Parameters
Name
Name of the attribute. The name is case-insensitive.

Remarks

Call AttributeByName to retrieve attribute information for an entity attribute when only its name is known. Name is the name of an existing attribute. AttributeByName returns the TEntityAttribute instance for the specified attribute. If the specified attribute does not exist, AttributeByName returns nil.

See Also

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