共用方式為


SqlServerEntityTypeAnnotations 建構函式

定義

多載

SqlServerEntityTypeAnnotations(IEntityType)

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

SqlServerEntityTypeAnnotations(RelationalAnnotations)

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

SqlServerEntityTypeAnnotations(IEntityType)

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

public SqlServerEntityTypeAnnotations (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations
Public Sub New (entityType As IEntityType)

參數

entityType
IEntityType

要使用的 IEntityType

適用於

SqlServerEntityTypeAnnotations(RelationalAnnotations)

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

public SqlServerEntityTypeAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.SqlServerEntityTypeAnnotations
Public Sub New (annotations As RelationalAnnotations)

參數

annotations
RelationalAnnotations

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

適用於