语言

RelationalPropertyExtensions.GetOrCreateOverrides 方法

定义

重载

名称 说明
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier)

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

GetOrCreateOverrides(IMutableProperty, StoreObjectIdentifier)

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier, Boolean)

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable GetOrCreateOverrides(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable
<Extension()>
Public Function GetOrCreateOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As IConventionAnnotatable

参数

property
IConventionProperty

属性。

storeObject
StoreObjectIdentifier

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

返回

存储属性 facet 重写的对象。

适用于

GetOrCreateOverrides(IMutableProperty, StoreObjectIdentifier)

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

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

public static Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides GetOrCreateOverrides(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable GetOrCreateOverrides(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable
<Extension()>
Public Function GetOrCreateOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableRelationalPropertyOverrides
<Extension()>
Public Function GetOrCreateOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableAnnotatable

参数

property
IMutableProperty

属性。

storeObject
StoreObjectIdentifier

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

返回

存储属性 facet 重写的对象。

适用于

GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier, Boolean)

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

返回特定表式存储对象的属性 facet 重写。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides GetOrCreateOverrides(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides
<Extension()>
Public Function GetOrCreateOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As IConventionRelationalPropertyOverrides

参数

property
IConventionProperty

属性。

storeObject
StoreObjectIdentifier

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

fromDataAnnotation
Boolean

指示是否使用数据注释指定了配置。

返回

存储属性 facet 重写的对象。

适用于