RelationalPropertyExtensions.GetDefaultColumnBaseName 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
GetDefaultColumnBaseName(IProperty) |
Returns the default base name of the column to which the property would be mapped |
GetDefaultColumnBaseName(IReadOnlyProperty) |
Obsolete.
Returns the default base name of the column to which the property would be mapped |
GetDefaultColumnBaseName(IProperty)
Returns the default base name of the column to which the property would be mapped
public static string GetDefaultColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetDefaultColumnBaseName (property As IProperty) As String
Parameters
- property
- IProperty
The property.
Returns
The default base column name to which the property would be mapped.
Applies to
GetDefaultColumnBaseName(IReadOnlyProperty)
Caution
Use GetDefaultColumnName
Returns the default base name of the column to which the property would be mapped
public static string GetDefaultColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
[System.Obsolete("Use GetDefaultColumnName")]
public static string GetDefaultColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
[<System.Obsolete("Use GetDefaultColumnName")>]
static member GetDefaultColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetDefaultColumnBaseName (property As IReadOnlyProperty) As String
Parameters
- property
- IReadOnlyProperty
The property.
Returns
The default base column name to which the property would be mapped.
- Attributes
Applies to
Entity Framework