SqlServerMetadataExtensions.SqlServer 方法

定義

多載

SqlServer(IEntityType)

取得實體SQL Server特定中繼資料。

SqlServer(IForeignKey)

取得SQL Server外鍵的特定中繼資料。

SqlServer(IIndex)

取得索引SQL Server特定中繼資料。

SqlServer(IKey)

取得金鑰的特定中繼資料SQL Server。

SqlServer(IModel)

取得模型的特定中繼資料SQL Server。

SqlServer(IMutableEntityType)

取得實體SQL Server特定中繼資料。

SqlServer(IMutableForeignKey)

取得SQL Server外鍵的特定中繼資料。

SqlServer(IMutableIndex)

取得索引SQL Server特定中繼資料。

SqlServer(IMutableKey)

取得金鑰的特定中繼資料SQL Server。

SqlServer(IMutableModel)

取得模型的特定中繼資料SQL Server。

SqlServer(IMutableProperty)

取得屬性SQL Server特定中繼資料。

SqlServer(IProperty)

取得屬性SQL Server特定中繼資料。

SqlServer(IEntityType)

取得實體SQL Server特定中繼資料。

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

參數

entityType
IEntityType

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

傳回

實體SQL Server特定中繼資料。

適用於

SqlServer(IForeignKey)

取得SQL Server外鍵的特定中繼資料。

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

參數

foreignKey
IForeignKey

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

傳回

SQL Server外鍵的特定中繼資料。

適用於

SqlServer(IIndex)

取得索引SQL Server特定中繼資料。

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

參數

index
IIndex

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

傳回

索引的特定中繼資料SQL Server。

適用於

SqlServer(IKey)

取得金鑰的特定中繼資料SQL Server。

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

參數

key
IKey

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

傳回

索引鍵SQL Server特定中繼資料。

適用於

SqlServer(IModel)

取得模型的特定中繼資料SQL Server。

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

參數

model
IModel

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

傳回

模型的特定中繼資料SQL Server。

適用於

SqlServer(IMutableEntityType)

取得實體SQL Server特定中繼資料。

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

參數

entityType
IMutableEntityType

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

傳回

實體SQL Server特定中繼資料。

適用於

SqlServer(IMutableForeignKey)

取得SQL Server外鍵的特定中繼資料。

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

參數

foreignKey
IMutableForeignKey

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

傳回

SQL Server外鍵的特定中繼資料。

適用於

SqlServer(IMutableIndex)

取得索引SQL Server特定中繼資料。

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

參數

index
IMutableIndex

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

傳回

索引的特定中繼資料SQL Server。

適用於

SqlServer(IMutableKey)

取得金鑰的特定中繼資料SQL Server。

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

參數

key
IMutableKey

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

傳回

索引鍵SQL Server特定中繼資料。

適用於

SqlServer(IMutableModel)

取得模型的特定中繼資料SQL Server。

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

參數

model
IMutableModel

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

傳回

模型的特定中繼資料SQL Server。

適用於

SqlServer(IMutableProperty)

取得屬性SQL Server特定中繼資料。

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

參數

property
IMutableProperty

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

傳回

屬性的特定中繼資料SQL Server。

適用於

SqlServer(IProperty)

取得屬性SQL Server特定中繼資料。

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

參數

property
IProperty

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

傳回

屬性的特定中繼資料SQL Server。

適用於