共用方式為


RelationalMetadataExtensions.Relational 方法

定義

多載

Relational(IEntityType)

取得實體的關係資料庫特定中繼資料。

Relational(IForeignKey)

取得外鍵的關係資料庫特定中繼資料。

Relational(IIndex)

取得索引的關係資料庫特定中繼資料。

Relational(IKey)

取得索引鍵的關係資料庫特定中繼資料。

Relational(IModel)

取得模型的關係資料庫特定中繼資料。

Relational(IMutableEntityType)

取得實體的關係資料庫特定中繼資料。

Relational(IMutableForeignKey)

取得外鍵的關係資料庫特定中繼資料。

Relational(IMutableIndex)

取得索引的關係資料庫特定中繼資料。

Relational(IMutableKey)

取得索引鍵的關係資料庫特定中繼資料。

Relational(IMutableModel)

取得模型的關係資料庫特定中繼資料。

Relational(IMutableProperty)

取得屬性的關係資料庫特定中繼資料。

Relational(IProperty)

取得屬性的關係資料庫特定中繼資料。

Relational(IEntityType)

取得實體的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
<Extension()>
Public Function Relational (entityType As IEntityType) As IRelationalEntityTypeAnnotations

參數

entityType
IEntityType

要為其取得中繼資料的實體。

傳回

實體的關係資料庫特定中繼資料。

適用於

Relational(IForeignKey)

取得外鍵的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
<Extension()>
Public Function Relational (foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations

參數

foreignKey
IForeignKey

要為其取得中繼資料的外鍵。

傳回

外鍵的關係資料庫特定中繼資料。

適用於

Relational(IIndex)

取得索引的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations
<Extension()>
Public Function Relational (index As IIndex) As IRelationalIndexAnnotations

參數

index
IIndex

要為其取得中繼資料的索引。

傳回

索引的關係資料庫特定中繼資料。

適用於

Relational(IKey)

取得索引鍵的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
<Extension()>
Public Function Relational (key As IKey) As IRelationalKeyAnnotations

參數

key
IKey

要為其取得中繼資料的索引鍵。

傳回

索引鍵的關係資料庫特定中繼資料。

適用於

Relational(IModel)

取得模型的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
<Extension()>
Public Function Relational (model As IModel) As IRelationalModelAnnotations

參數

model
IModel

要為其取得中繼資料的模型。

傳回

模型的關係資料庫特定中繼資料。

適用於

Relational(IMutableEntityType)

取得實體的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.RelationalEntityTypeAnnotations
<Extension()>
Public Function Relational (entityType As IMutableEntityType) As RelationalEntityTypeAnnotations

參數

entityType
IMutableEntityType

要為其取得中繼資料的實體。

傳回

實體的關係資料庫特定中繼資料。

適用於

Relational(IMutableForeignKey)

取得外鍵的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
<Extension()>
Public Function Relational (foreignKey As IMutableForeignKey) As RelationalForeignKeyAnnotations

參數

foreignKey
IMutableForeignKey

要為其取得中繼資料的外鍵。

傳回

外鍵的關係資料庫特定中繼資料。

適用於

Relational(IMutableIndex)

取得索引的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalIndexAnnotations
<Extension()>
Public Function Relational (index As IMutableIndex) As RelationalIndexAnnotations

參數

index
IMutableIndex

要為其取得中繼資料的索引。

傳回

索引的關係資料庫特定中繼資料。

適用於

Relational(IMutableKey)

取得索引鍵的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalKeyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalKeyAnnotations
<Extension()>
Public Function Relational (key As IMutableKey) As RelationalKeyAnnotations

參數

key
IMutableKey

要為其取得中繼資料的索引鍵。

傳回

索引鍵的關係資料庫特定中繼資料。

適用於

Relational(IMutableModel)

取得模型的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
<Extension()>
Public Function Relational (model As IMutableModel) As RelationalModelAnnotations

參數

model
IMutableModel

要為其取得中繼資料的模型。

傳回

模型的關係資料庫特定中繼資料。

適用於

Relational(IMutableProperty)

取得屬性的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.RelationalPropertyAnnotations
<Extension()>
Public Function Relational (property As IMutableProperty) As RelationalPropertyAnnotations

參數

property
IMutableProperty

要為其取得中繼資料的屬性。

傳回

屬性的關係資料庫特定中繼資料。

適用於

Relational(IProperty)

取得屬性的關係資料庫特定中繼資料。

public static Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations Relational (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member Relational : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
<Extension()>
Public Function Relational (property As IProperty) As IRelationalPropertyAnnotations

參數

property
IProperty

要為其取得中繼資料的屬性。

傳回

屬性的關係資料庫特定中繼資料。

適用於