IRelationalAnnotationProvider.For 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
For(ICheckConstraint)
取得指定 ICheckConstraint 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (checkConstraint As ICheckConstraint) As IEnumerable(Of IAnnotation)
參數
- checkConstraint
- ICheckConstraint
檢查條件約束。
傳回
註解。
適用於
For(IColumn, Boolean)
取得指定 IColumn 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IColumn column, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- column
- IColumn
資料行。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IForeignKeyConstraint, Boolean)
取得指定 IForeignKeyConstraint 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint foreignKey, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (foreignKey As IForeignKeyConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- foreignKey
- IForeignKeyConstraint
外部索引鍵。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IFunctionColumn, Boolean)
取得指定 IFunctionColumn 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn column, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IFunctionColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- column
- IFunctionColumn
資料行。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IRelationalModel, Boolean)
取得指定 IRelationalModel 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IRelationalModel model, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (model As IRelationalModel, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- model
- IRelationalModel
資料庫模型。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ISequence, Boolean)
取得指定 ISequence 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISequence * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (sequence As ISequence, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- sequence
- ISequence
順序。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ISqlQuery, Boolean)
取得指定 ISqlQuery 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISqlQuery sqlQuery, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISqlQuery * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (sqlQuery As ISqlQuery, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- sqlQuery
- ISqlQuery
SQL 查詢。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ISqlQueryColumn, Boolean)
取得指定 ISqlQueryColumn 之 的提供者特定批註。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn column, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As ISqlQueryColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- column
- ISqlQueryColumn
資料行。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ICheckConstraint, Boolean)
取得指定 ICheckConstraint 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (checkConstraint As ICheckConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- checkConstraint
- ICheckConstraint
檢查條件約束。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IStoreFunction, Boolean)
取得指定 IStoreFunction 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreFunction function, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunction * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (function As IStoreFunction, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- function
- IStoreFunction
函式。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IStoreStoredProcedure, Boolean)
取得指定 IStoreStoredProcedure 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedure storedProcedure, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedure * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (storedProcedure As IStoreStoredProcedure, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- storedProcedure
- IStoreStoredProcedure
預存程式。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IStoreStoredProcedureParameter, Boolean)
取得指定 IStoreStoredProcedureParameter 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureParameter parameter, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureParameter * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (parameter As IStoreStoredProcedureParameter, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- parameter
- IStoreStoredProcedureParameter
參數。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IStoreStoredProcedureResultColumn, Boolean)
取得指定 IStoreStoredProcedureResultColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureResultColumn column, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureResultColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IStoreStoredProcedureResultColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
結果資料行。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ITable, Boolean)
取得指定 ITable 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ITable table, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ITable * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (table As ITable, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- table
- ITable
資料表。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ITableIndex, Boolean)
取得指定 ITableIndex 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ITableIndex index, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ITableIndex * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (index As ITableIndex, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- index
- ITableIndex
索引。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(ITrigger, Boolean)
取得指定 ITrigger 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ITrigger * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (trigger As ITrigger, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- trigger
- ITrigger
觸發程式。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IUniqueConstraint, Boolean)
取得指定 IUniqueConstraint 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint constraint, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (constraint As IUniqueConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- constraint
- IUniqueConstraint
唯一條件約束。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IStoreFunctionParameter, Boolean)
取得指定 IStoreFunctionParameter 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreFunctionParameter parameter, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunctionParameter * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (parameter As IStoreFunctionParameter, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- parameter
- IStoreFunctionParameter
參數。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IView, Boolean)
取得指定 IView 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IView view, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IView * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (view As IView, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- view
- IView
檢視。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。
適用於
For(IViewColumn)
取得指定 IViewColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IViewColumn column);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IViewColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IViewColumn) As IEnumerable(Of IAnnotation)
參數
- column
- IViewColumn
資料行。
傳回
註解。
適用於
For(IUniqueConstraint)
取得指定 IUniqueConstraint 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint constraint);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (constraint As IUniqueConstraint) As IEnumerable(Of IAnnotation)
參數
- constraint
- IUniqueConstraint
唯一條件約束。
傳回
註解。
適用於
For(IColumn)
取得指定 IColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IColumn column);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IColumn) As IEnumerable(Of IAnnotation)
參數
- column
- IColumn
資料行。
傳回
註解。
適用於
For(IEntityType)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IRelationalEntityTypeAnnotations
Public Function For (entityType As IEntityType) As IRelationalEntityTypeAnnotations
參數
- entityType
- IEntityType
傳回
適用於
For(IForeignKey)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalForeignKeyAnnotations
Public Function For (foreignKey As IForeignKey) As IRelationalForeignKeyAnnotations
參數
- foreignKey
- IForeignKey
傳回
適用於
For(IForeignKeyConstraint)
取得指定 IForeignKeyConstraint 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint foreignKey);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (foreignKey As IForeignKeyConstraint) As IEnumerable(Of IAnnotation)
參數
- foreignKey
- IForeignKeyConstraint
外部索引鍵。
傳回
註解。
適用於
For(IFunctionColumn)
取得指定 IFunctionColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn column);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IFunctionColumn) As IEnumerable(Of IAnnotation)
參數
- column
- IFunctionColumn
資料行。
傳回
註解。
適用於
For(IIndex)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IIndex index);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IIndex -> Microsoft.EntityFrameworkCore.Metadata.IRelationalIndexAnnotations
Public Function For (index As IIndex) As IRelationalIndexAnnotations
參數
- index
- IIndex
傳回
適用於
For(IKey)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IKey key);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IKey -> Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
Public Function For (key As IKey) As IRelationalKeyAnnotations
參數
- key
- IKey
傳回
適用於
For(IView)
取得指定 IView 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IView view);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IView -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (view As IView) As IEnumerable(Of IAnnotation)
參數
- view
- IView
檢視。
傳回
註解。
適用於
For(IModel)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations
Public Function For (model As IModel) As IRelationalModelAnnotations
參數
- model
- IModel
傳回
適用於
For(IRelationalModel)
取得指定 IRelationalModel 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IRelationalModel model);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (model As IRelationalModel) As IEnumerable(Of IAnnotation)
參數
- model
- IRelationalModel
資料庫模型。
傳回
註解。
適用於
For(ISequence)
取得指定 ISequence 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (sequence As ISequence) As IEnumerable(Of IAnnotation)
參數
- sequence
- ISequence
順序。
傳回
註解。
適用於
For(ISqlQuery)
取得指定 ISqlQuery 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISqlQuery sqlQuery);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISqlQuery -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (sqlQuery As ISqlQuery) As IEnumerable(Of IAnnotation)
參數
- sqlQuery
- ISqlQuery
SQL 查詢。
傳回
註解。
適用於
For(ISqlQueryColumn)
取得指定 ISqlQueryColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn column);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As ISqlQueryColumn) As IEnumerable(Of IAnnotation)
參數
- column
- ISqlQueryColumn
資料行。
傳回
註解。
適用於
For(IStoreFunction)
取得指定 IStoreFunction 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IStoreFunction function);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunction -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (function As IStoreFunction) As IEnumerable(Of IAnnotation)
參數
- function
- IStoreFunction
函式。
傳回
註解。
適用於
For(ITable)
取得指定 ITable 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ITable table);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (table As ITable) As IEnumerable(Of IAnnotation)
參數
- table
- ITable
資料表。
傳回
註解。
適用於
For(ITableIndex)
取得指定 ITableIndex 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.ITableIndex index);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (index As ITableIndex) As IEnumerable(Of IAnnotation)
參數
- index
- ITableIndex
索引。
傳回
註解。
適用於
For(IProperty)
public Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations For (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
Public Function For (property As IProperty) As IRelationalPropertyAnnotations
參數
- property
- IProperty
傳回
適用於
For(IViewColumn, Boolean)
取得指定 IViewColumn 之 的提供者特定注釋。
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> For (Microsoft.EntityFrameworkCore.Metadata.IViewColumn column, bool designTime);
abstract member For : Microsoft.EntityFrameworkCore.Metadata.IViewColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Function For (column As IViewColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)
參數
- column
- IViewColumn
資料行。
- designTime
- Boolean
模型是否應該包含設計階段組態。
傳回
註解。