ForeignKeyPropertyDiscoveryConvention.GetPropertyBaseName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework