语言

RelationalPropertyExtensions.GetDefaultColumnName 方法

定义

重载

名称 说明
GetDefaultColumnName(IProperty, StoreObjectIdentifier)

返回属性要映射到的默认列名。

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

返回属性要映射到的默认列名。

GetDefaultColumnName(IProperty)
已过时.

返回属性要映射到的默认表列名。

GetDefaultColumnName(IReadOnlyProperty)

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

GetDefaultColumnName(IProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs

返回属性要映射到的默认列名。

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

参数

property
IProperty

属性。

storeObject
StoreObjectIdentifier

包含列的类似表的存储对象的标识符。

返回

属性要映射到的默认列名。

适用于

GetDefaultColumnName(IReadOnlyProperty, StoreObjectIdentifier)

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

返回属性要映射到的默认列名。

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

参数

property
IReadOnlyProperty

属性。

storeObject
StoreObjectIdentifier

包含列的类似表的存储对象的标识符。

返回

属性要映射到的默认列名。

适用于

GetDefaultColumnName(IProperty)

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

注意

Use the overload that takes a StoreObjectIdentifier

返回属性要映射到的默认表列名。

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

参数

property
IProperty

属性。

返回

属性要映射到的默认表列名。

特性

适用于

GetDefaultColumnName(IReadOnlyProperty)

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

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

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

参数

property
IReadOnlyProperty

属性。

返回

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

适用于