Share via


RelationalModelAnnotations 類別

定義

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

public class RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
type RelationalModelAnnotations = class
    interface IRelationalModelAnnotations
Public Class RelationalModelAnnotations
Implements IRelationalModelAnnotations
繼承
RelationalModelAnnotations
衍生
實作

建構函式

RelationalModelAnnotations(IModel)

建構指定 IModel 之注釋的實例。

RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

RelationalModelAnnotations(RelationalAnnotations)

建構由指定批註協助程式所表示之 IModel 注釋的 實例。

RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

欄位

ProviderFullAnnotationNames

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

屬性

Annotations

RelationalAnnotations協助程式, IModel 表示要標注的 。

DatabaseName

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

DbFunctions

模型中包含的所有 IDbFunction

DefaultSchema

要用於模型的預設架構,如果未明確設定,則 null 為 。

MaxIdentifierLength

存放區識別碼允許的最大長度。

Model

IModel要標注的 。

Sequences

模型中包含的所有 ISequence

方法

FindDbFunction(MethodInfo)

IDbFunction尋找對應至指定 MethodInfo 所表示之 方法的 。

FindSequence(String, String)

尋找 ISequence 具有指定名稱的 。

GetOrAddDbFunction(MethodInfo)

傳回對應至指定方法的現有 Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction ,或建立對應至 方法的新函式。

GetOrAddSequence(String, String)

傳回 IMutableSequence 具有指定架構中指定名稱的現有 ,或建立具有指定名稱和架構的新序列。

SetDatabaseName(String)

透過 存取 Relational(IMutableModel) 關聯式特定批註的屬性。

SetDefaultSchema(String)

嘗試使用中的 語 RelationalAnnotations 意來設定 DefaultSchema

SetMaxIdentifierLength(Nullable<Int32>)

嘗試使用中的 語 RelationalAnnotations 意來設定 MaxIdentifierLength

明確介面實作

IRelationalModelAnnotations.FindSequence(String, String)

尋找 ISequence 具有指定名稱的 。

IRelationalModelAnnotations.Sequences

模型中包含的所有 ISequence

適用於