RelationalPropertyExtensions.GetDefaultColumnBaseName 方法

定义

重载

GetDefaultColumnBaseName(IProperty)

返回属性将映射到的列的默认基名称

GetDefaultColumnBaseName(IReadOnlyProperty)
已过时.

返回属性将映射到的列的默认基名称

GetDefaultColumnBaseName(IProperty)

Source:
RelationalPropertyExtensions.cs

返回属性将映射到的列的默认基名称

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

参数

property
IProperty

属性。

返回

属性将映射到的默认基列名称。

适用于

GetDefaultColumnBaseName(IReadOnlyProperty)

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

注意

Use GetDefaultColumnName

返回属性将映射到的列的默认基名称

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

参数

property
IReadOnlyProperty

属性。

返回

属性将映射到的默认基列名称。

属性

适用于