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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取实体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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取索引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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取密钥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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取模型的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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取实体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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取索引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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取密钥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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取模型的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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取属性的特定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)

Source:
SqlServerMetadataExtensions.cs
Source:
SqlServerMetadataExtensions.cs

获取属性的特定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 属性的特定元数据。

适用于