RelationalPropertyExtensions.GetDefaultDefaultConstraintName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據資料表和欄位名稱產生預設的約束名稱。
public static string GetDefaultDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultDefaultConstraintName (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String
參數
- property
- IReadOnlyProperty
屬性。
- storeObject
- StoreObjectIdentifier
儲存物件識別碼,用來產生名稱。