NavigationPropertyConfiguration.HasConstraint 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
참조 제약 조건에 대한 주체 속성 정보입니다.