TXDataSchema.FindEntityType Method
Looks for an entity type of the schema by its name.
Syntax
Unit: XData.Model.Classes
function TXDataSchema.FindEntityType(const AName: string): TXDataEntityType;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AName | string | The name of the entity type. A name in the format Collection(TypeName) returns the collection type of the named entity type. |
Returns
The entity type, or nil if it is not found.