SchemaAssociationRefConstraintCount Property
The number of referential constraints.
Syntax
property SchemaAssociationRefConstraintCount: Integer;
Default Value
0
Remarks
The number of referential constraints. To examine the individual referential constraints set SchemaAssociationRefConstraintIndex
to a value from 0 to SchemaAssociationRefConstraintCount -1. For instance:
For i = 0 to odata.SchemaAssociation.RefConstraintCount - 1
odata.SchemaAssociation.RefConstraintIndex = i;
Console.Write(odata.SchemaAssociation.RefConstraintProperty);
Console.Write(odata.SchemaAssociation.RefConstraintReferencedProperty);
Next i
This property is only applicable to OData Version 4.
The size of the array is controlled by the SchemaAssociationCount property.
This property is read-only and not available at design time.
Data Type
Integer