SchemaAssociationRefConstraintCount Property

The number of referential constraints.

Syntax

odatacontrol.SchemaAssociationRefConstraintCount

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 and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 ActiveX Edition - Version 20.0 [Build 8307]