Share via


RelationalPropertyExtensions.GetColumnBaseName Method

Definition

Overloads

GetColumnBaseName(IProperty)

Returns the base name of the column to which the property would be mapped.

GetColumnBaseName(IReadOnlyProperty)
Obsolete.

Returns the base name of the column to which the property would be mapped.

GetColumnBaseName(IProperty)

Source:
RelationalPropertyExtensions.cs

Returns the base name of the column to which the property would be mapped.

public static string GetColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetColumnBaseName (property As IProperty) As String

Parameters

property
IProperty

The property.

Returns

The the base name of the column to which the property would be mapped.

Applies to

GetColumnBaseName(IReadOnlyProperty)

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

Caution

Use GetColumnName

Returns the base name of the column to which the property would be mapped.

public static string GetColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
[System.Obsolete("Use GetColumnName")]
public static string GetColumnBaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
[<System.Obsolete("Use GetColumnName")>]
static member GetColumnBaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetColumnBaseName (property As IReadOnlyProperty) As String

Parameters

property
IReadOnlyProperty

The property.

Returns

The base name of the column to which the property would be mapped.

Attributes

Applies to