schemaAssociationRefConstraintCount (property)
The number of referential constraints.
Syntax
@property (nonatomic,readonly,assign,getter=schemaAssociationRefConstraintCount) int schemaAssociationRefConstraintCount; - (int)schemaAssociationRefConstraintCount;
public var schemaAssociationRefConstraintCount: Int32 { get {...} }
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 parameter specifies the index of the item in the array. The size of the array is controlled by the SchemaAssociationCount property.
This property is read-only.