Udostępnij za pośrednictwem


CoreStrings.SelfReferencingNavigationWithInverseProperty Method

Definition

Overloads

SelfReferencingNavigationWithInverseProperty(Object, Object)

The inverse for the navigation '{entityType}.{property}' cannot be the same navigation. Change the value in the [InverseProperty] attribute to a different navigation.

SelfReferencingNavigationWithInverseProperty(Object, Object, Object, Object)

A relationship cannot be established from property '{1_entityType}.{0_property}' to property '{3_referencedEntityType}.{2_referencedProperty}'. Check the values in the [InverseProperty] attribute to ensure relationship definitions are unique and reference from one navigation to its corresponding inverse navigation.

SelfReferencingNavigationWithInverseProperty(Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

The inverse for the navigation '{entityType}.{property}' cannot be the same navigation. Change the value in the [InverseProperty] attribute to a different navigation.

public static string SelfReferencingNavigationWithInverseProperty (object? entityType, object? property);
static member SelfReferencingNavigationWithInverseProperty : obj * obj -> string
Public Shared Function SelfReferencingNavigationWithInverseProperty (entityType As Object, property As Object) As String

Parameters

entityType
Object
property
Object

Returns

Applies to

SelfReferencingNavigationWithInverseProperty(Object, Object, Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

A relationship cannot be established from property '{1_entityType}.{0_property}' to property '{3_referencedEntityType}.{2_referencedProperty}'. Check the values in the [InverseProperty] attribute to ensure relationship definitions are unique and reference from one navigation to its corresponding inverse navigation.

public static string SelfReferencingNavigationWithInverseProperty (object property, object entityType, object referencedProperty, object referencedEntityType);
static member SelfReferencingNavigationWithInverseProperty : obj * obj * obj * obj -> string
Public Shared Function SelfReferencingNavigationWithInverseProperty (property As Object, entityType As Object, referencedProperty As Object, referencedEntityType As Object) As String

Parameters

property
Object
entityType
Object
referencedProperty
Object
referencedEntityType
Object

Returns

Applies to