Share via


EdmReferentialConstraint Class

Definition

Represents an EDM referential constraint on a navigation property.

public class EdmReferentialConstraint : Microsoft.OData.Edm.IEdmReferentialConstraint
type EdmReferentialConstraint = class
    interface IEdmReferentialConstraint
Public Class EdmReferentialConstraint
Implements IEdmReferentialConstraint
Inheritance
EdmReferentialConstraint
Implements

Constructors

EdmReferentialConstraint(IEnumerable<EdmReferentialConstraintPropertyPair>)

Initializes a new instance of EdmReferentialConstraint.

Properties

PropertyPairs

Gets the set of property pairs from the referential constraint. No particular ordering should be assumed.

Methods

Create(IEnumerable<IEdmStructuralProperty>, IEnumerable<IEdmStructuralProperty>)

Creates a new EdmReferentialConstraint using the provided dependentProperties and principalProperties to form the pairs.

Applies to