次の方法で共有


ValidationRules.NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne フィールド

ナビゲーション プロパティの ContainsTarget が true でターゲット エンティティ型がプロパティの宣言型と異なる場合にナビゲーションのソースの多重度が 1 であることを検証します。

名前空間:  Microsoft.Data.Edm.Validation
アセンブリ:  Microsoft.Data.Edm (Microsoft.Data.Edm.dll)

構文

'宣言
Public Shared ReadOnly NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne As ValidationRule(Of IEdmNavigationProperty)
'使用
Dim value As ValidationRule(Of IEdmNavigationProperty)

value = ValidationRules.NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
public static readonly ValidationRule<IEdmNavigationProperty> NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
public:
static initonly ValidationRule<IEdmNavigationProperty^>^ NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne
static val NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne: ValidationRule<IEdmNavigationProperty>
public static final var NavigationPropertyWithNonRecursiveContainmentSourceMustBeFromOne : ValidationRule<IEdmNavigationProperty>

関連項目

参照

ValidationRules クラス

Microsoft.Data.Edm.Validation 名前空間