다음을 통해 공유


NavigationPropertyConfiguration.HasConstraint 메서드

정의

오버로드

HasConstraint(KeyValuePair<PropertyInfo,PropertyInfo>)

종속 및 주체 속성 쌍이 있는 참조 제약 조건을 구성합니다.

HasConstraint(PropertyInfo, PropertyInfo)

지정된 및 를 사용하여 참조 제약 조건을 구성합니다.

HasConstraint(KeyValuePair<PropertyInfo,PropertyInfo>)

종속 및 주체 속성 쌍이 있는 참조 제약 조건을 구성합니다.

public Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration HasConstraint (System.Collections.Generic.KeyValuePair<System.Reflection.PropertyInfo,System.Reflection.PropertyInfo> constraint);
member this.HasConstraint : System.Collections.Generic.KeyValuePair<System.Reflection.PropertyInfo, System.Reflection.PropertyInfo> -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Function HasConstraint (constraint As KeyValuePair(Of PropertyInfo, PropertyInfo)) As NavigationPropertyConfiguration

매개 변수

constraint
KeyValuePair<PropertyInfo,PropertyInfo>

종속 및 주체 속성 쌍입니다.

반환

적용 대상

HasConstraint(PropertyInfo, PropertyInfo)

지정된 및 를 사용하여 참조 제약 조건을 구성합니다.

public Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration HasConstraint (System.Reflection.PropertyInfo dependentPropertyInfo, System.Reflection.PropertyInfo principalPropertyInfo);
member this.HasConstraint : System.Reflection.PropertyInfo * System.Reflection.PropertyInfo -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Function HasConstraint (dependentPropertyInfo As PropertyInfo, principalPropertyInfo As PropertyInfo) As NavigationPropertyConfiguration

매개 변수

dependentPropertyInfo
PropertyInfo

참조 제약 조건에 대한 종속 속성 정보입니다.

principalPropertyInfo
PropertyInfo

참조 제약 조건에 대한 주체 속성 정보입니다.

반환

적용 대상