语言

RelationalPropertyExtensions.GetColumnNameConfigurationSource 方法

定义

重载

GetColumnNameConfigurationSource(IConventionProperty)

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

获取 ConfigurationSource 列名称。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetColumnNameConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetColumnNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetColumnNameConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

参数

property
IConventionProperty

属性。

返回

列 ConfigurationSource 名称。

适用于

GetColumnNameConfigurationSource(IConventionProperty, StoreObjectIdentifier)

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

获取 ConfigurationSource 特定类似表的存储对象的列名。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetColumnNameConfigurationSource(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetColumnNameConfigurationSource (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ConfigurationSource)

参数

property
IConventionProperty

属性。

storeObject
StoreObjectIdentifier

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

返回

ConfigurationSource特定类似表的存储对象的列名称。

适用于