Dela via


RelationalPropertyExtensions.GetDefaultColumnBaseName Method

Definition

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)

Source:
RelationalPropertyExtensions.cs

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)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

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