RelationalModelAnnotations 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RelationalModelAnnotations(IModel)
建構指定 IModel 之注釋的實例。
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel)
參數
適用於
RelationalModelAnnotations(RelationalAnnotations)
建構由指定批註協助程式所表示之 IModel 注釋的 實例。
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations)
參數
- annotations
- RelationalAnnotations
RelationalAnnotations協助程式, IModel 表示要標注的 。
適用於
RelationalModelAnnotations(IModel, RelationalFullAnnotationNames)
public RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Public Sub New (model As IModel, providerFullAnnotationNames As RelationalFullAnnotationNames)
參數
- model
- IModel
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames
適用於
RelationalModelAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
protected RelationalModelAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations
Protected Sub New (annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)
參數
- annotations
- RelationalAnnotations
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames