语言

RelationalPropertyExtensions.GetDefaultConstraintName 方法

定义

重载

名称 说明
GetDefaultConstraintName(IReadOnlyProperty)

获取默认约束名称。

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

获取默认约束名称。

GetDefaultConstraintName(IReadOnlyProperty)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

获取默认约束名称。

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

参数

property
IReadOnlyProperty

属性。

返回

适用于

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

获取默认约束名称。

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

参数

property
IReadOnlyProperty

属性。

storeObject
StoreObjectIdentifier

要为其生成名称的存储对象标识符。

返回

适用于