IMutableRelationalPropertyOverrides 介面

定義

表示特定類似資料表之存放區物件的屬性 Facet 覆寫。

public interface IMutableRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides
type IMutableRelationalPropertyOverrides = interface
    interface IReadOnlyRelationalPropertyOverrides
    interface IReadOnlyAnnotatable
    interface IMutableAnnotatable
Public Interface IMutableRelationalPropertyOverrides
Implements IMutableAnnotatable, IReadOnlyRelationalPropertyOverrides
實作

備註

如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。

屬性

ColumnName

取得或設定當以指定的類似資料表的存放區物件為目標時,屬性所對應的資料行。

IsColumnNameOverridden

取得值,指出是否覆寫資料行名稱。

(繼承來源 IReadOnlyRelationalPropertyOverrides)
Item[String]

取得或設定具有指定名稱之注釋的值。

(繼承來源 IMutableAnnotatable)
Property

取得覆寫所針對的屬性。

StoreObject

這些覆寫所針對之類似資料表的存放區物件識別碼。

(繼承來源 IReadOnlyRelationalPropertyOverrides)

方法

AddAnnotation(String, Object)

將批註加入至這個物件。 如果具有指定名稱的注釋已經存在,則會擲回 。

(繼承來源 IMutableAnnotatable)
AddAnnotations(IEnumerable<IAnnotation>)

將批註加入物件。

(繼承來源 IMutableAnnotatable)
AnnotationsToDebugString(Int32)

取得 物件上宣告之所有批註的偵錯字串。

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則傳回 null。

(繼承來源 IMutableAnnotatable)
GetAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則會擲回。

(繼承來源 IReadOnlyAnnotatable)
GetAnnotations()

取得目前 物件上的所有批註。

(繼承來源 IMutableAnnotatable)
RemoveAnnotation(String)

從這個 物件中移除指定的注釋。

(繼承來源 IMutableAnnotatable)
RemoveColumnNameOverride()

移除資料行名稱覆寫。

SetAnnotation(String, Object)

設定儲存在指定索引鍵底下的注釋。 如果具有指定名稱的注釋已經存在,則覆寫現有的注釋。

(繼承來源 IMutableAnnotatable)
SetOrRemoveAnnotation(String, Object)

設定儲存在指定名稱下的批註。 如果具有指定名稱的注釋已經存在,則覆寫現有的注釋。 如果 null 已提供,則移除現有的批註。

(繼承來源 IMutableAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

建立人類可讀取的指定中繼資料標記法。

警告:請勿依賴傳回字串的格式。 它是專為偵錯而設計,而且可能會在發行之間任意變更。

(繼承來源 IReadOnlyRelationalPropertyOverrides)

擴充方法

GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)

傳回識別增量。

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

傳回身分識別種子。

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

SqlServerValueGenerationStrategy 回要用於 屬性的 。

SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>)

設定特定資料表的識別增量。

SetIdentitySeed(IMutableRelationalPropertyOverrides, Nullable<Int64>)

設定特定資料表的身分識別種子。

SetValueGenerationStrategy(IMutableRelationalPropertyOverrides, Nullable<SqlServerValueGenerationStrategy>)

SqlServerValueGenerationStrategy設定要用於特定資料表之 屬性的 。

適用於