Share via


RelationalPropertyExtensions.GetDefaultColumnName Method

Definition

Overloads

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

Returns the default column name to which the property would be mapped.

GetDefaultColumnName(IProperty, StoreObjectIdentifier)

Returns the default column name to which the property would be mapped.

GetDefaultColumnName(IProperty)
Obsolete.

Returns the default table column name to which the property would be mapped.

GetDefaultColumnName(IReadOnlyProperty)

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

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

Returns the default column name to which the property would be mapped.

public static string GetDefaultColumnName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static string? GetDefaultColumnName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultColumnName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultColumnName (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The default column name to which the property would be mapped.

Applies to

GetDefaultColumnName(IProperty, StoreObjectIdentifier)

Returns the default column name to which the property would be mapped.

public static string GetDefaultColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultColumnName (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The default column name to which the property would be mapped.

Applies to

GetDefaultColumnName(IProperty)

Caution

Use the overload that takes a StoreObjectIdentifier

Returns the default table column name to which the property would be mapped.

public static string GetDefaultColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use the overload that takes a StoreObjectIdentifier")]
public static string GetDefaultColumnName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
[<System.Obsolete("Use the overload that takes a StoreObjectIdentifier")>]
static member GetDefaultColumnName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetDefaultColumnName (property As IProperty) As String

Parameters

property
IProperty

The property.

Returns

The default table column name to which the property would be mapped.

Attributes

Applies to

GetDefaultColumnName(IReadOnlyProperty)

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

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

Parameters

property
IReadOnlyProperty

The property.

Returns

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

Applies to