SqlServerEntityTypeAnnotations 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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 表示要標注的 。