ExtensionMethods.GetDerivedTypeConstraints Method

Definition

Overloads

GetDerivedTypeConstraints(IEdmModel, IEdmNavigationSource)

Gets the collection of qualified type name for term Org.OData.Validation.V1.DerivedTypeConstraint from a navigation source.

GetDerivedTypeConstraints(IEdmModel, IEdmVocabularyAnnotatable)

Gets the collection of qualified type name for term Org.OData.Validation.V1.DerivedTypeConstraint from a target annotatable.

GetDerivedTypeConstraints(IEdmModel, IEdmNavigationSource)

Gets the collection of qualified type name for term Org.OData.Validation.V1.DerivedTypeConstraint from a navigation source.

C#
public static System.Collections.Generic.IEnumerable<string> GetDerivedTypeConstraints (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);

Parameters

model
IEdmModel

The model referenced to.

navigationSource
IEdmNavigationSource

The navigation source.

Returns

Null or a collection string of qualified type name.

Applies to

OData EDM 7.0
Product Versions
OData EDM 7.0

GetDerivedTypeConstraints(IEdmModel, IEdmVocabularyAnnotatable)

Gets the collection of qualified type name for term Org.OData.Validation.V1.DerivedTypeConstraint from a target annotatable.

C#
public static System.Collections.Generic.IEnumerable<string> GetDerivedTypeConstraints (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotatable target);

Parameters

model
IEdmModel

The model referenced to.

target
IEdmVocabularyAnnotatable

The target annotatable to find annotation.

Returns

Null or a collection string of qualified type name.

Applies to

OData EDM 7.0
Product Versions
OData EDM 7.0