Megosztás a következőn keresztül:


ForeignKeyPropertyDiscoveryConvention.GetPropertyBaseName Method

Definition

Overloads

GetPropertyBaseName(IForeignKey)

Gets the string that should be used as part of the shadow properties created for the given foreign key.

GetPropertyBaseName(IReadOnlyForeignKey)

Gets the string that should be used as part of the shadow properties created for the given foreign key.

GetPropertyBaseName(IForeignKey)

Gets the string that should be used as part of the shadow properties created for the given foreign key.

public static string GetPropertyBaseName (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetPropertyBaseName : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> string
Public Shared Function GetPropertyBaseName (foreignKey As IForeignKey) As String

Parameters

foreignKey
IForeignKey

The foreign key.

Returns

The string that should be used as part of the shadow properties created for the given foreign key.

Applies to

GetPropertyBaseName(IReadOnlyForeignKey)

Gets the string that should be used as part of the shadow properties created for the given foreign key.

public static string GetPropertyBaseName (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey foreignKey);
static member GetPropertyBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey -> string
Public Shared Function GetPropertyBaseName (foreignKey As IReadOnlyForeignKey) As String

Parameters

foreignKey
IReadOnlyForeignKey

The foreign key.

Returns

The string that should be used as part of the shadow properties created for the given foreign key.

Applies to