語言

RelationalPropertyExtensions.GetDefaultConstraintName 方法

定義

多載

名稱 Description
GetDefaultConstraintName(IReadOnlyProperty)

會取得預設的約束名稱。

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

會取得預設的約束名稱。

GetDefaultConstraintName(IReadOnlyProperty)

來源:
RelationalPropertyExtensions.cs
來源:
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)

來源:
RelationalPropertyExtensions.cs
來源:
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

儲存物件識別碼,用來產生名稱。

傳回

適用於