共用方式為


RelationalAnnotationProvider.For 方法

定義

多載

For(IRelationalModel, Boolean)

取得指定 IRelationalModel 之 的提供者特定批註。

For(ISequence, Boolean)

取得指定 ISequence 之 的提供者特定批註。

For(ISqlQuery, Boolean)

取得指定 ISqlQuery 之 的提供者特定批註。

For(ISqlQueryColumn, Boolean)

取得指定 ISqlQueryColumn 之 的提供者特定批註。

For(IStoreFunction, Boolean)

取得指定 IStoreFunction 之 的提供者特定批註。

For(IStoreFunctionParameter, Boolean)

取得指定 IStoreFunctionParameter 之 的提供者特定批註。

For(IStoreStoredProcedure, Boolean)

取得指定 IStoreStoredProcedure 之 的提供者特定批註。

For(IStoreStoredProcedureParameter, Boolean)

取得指定 IStoreStoredProcedureParameter 之 的提供者特定批註。

For(IStoreStoredProcedureResultColumn, Boolean)

取得指定 IStoreStoredProcedureResultColumn 之 的提供者特定批註。

For(ITable, Boolean)

取得指定 ITable 之 的提供者特定批註。

For(ITableIndex, Boolean)

取得指定 ITableIndex 之 的提供者特定批註。

For(ITrigger, Boolean)

取得指定 ITrigger 之 的提供者特定批註。

For(IUniqueConstraint, Boolean)

取得指定 IUniqueConstraint 之 的提供者特定批註。

For(IFunctionColumn, Boolean)

取得指定 IFunctionColumn 之 的提供者特定批註。

For(IForeignKeyConstraint, Boolean)

取得指定 IForeignKeyConstraint 之 的提供者特定批註。

For(IColumn, Boolean)

取得指定 IColumn 之 的提供者特定批註。

For(ICheckConstraint, Boolean)

取得指定 ICheckConstraint 之 的提供者特定批註。

For(ICheckConstraint)

取得指定 ICheckConstraint 之 的提供者特定批註。

For(IColumn)

取得指定 IColumn 之 的提供者特定批註。

For(IForeignKeyConstraint)

取得指定 IForeignKeyConstraint 之 的提供者特定批註。

For(IFunctionColumn)

取得指定 IFunctionColumn 之 的提供者特定批註。

For(IRelationalModel)

取得指定 IRelationalModel 之 的提供者特定批註。

For(ISequence)

取得指定 ISequence 之 的提供者特定批註。

For(IView, Boolean)

取得指定 IView 之 的提供者特定批註。

For(ISqlQuery)

取得指定 ISqlQuery 之 的提供者特定批註。

For(IStoreFunction)

取得指定 IStoreFunction 之 的提供者特定批註。

For(ITable)

取得指定 ITable 之 的提供者特定批註。

For(ITableIndex)

取得指定 ITableIndex 之 的提供者特定批註。

For(IUniqueConstraint)

取得指定 IUniqueConstraint 之 的提供者特定批註。

For(IView)

取得指定 IView 之 的提供者特定批註。

For(IViewColumn)

取得指定 IViewColumn 之 的提供者特定批註。

For(ISqlQueryColumn)

取得指定 ISqlQueryColumn 之 的提供者特定批註。

For(IViewColumn, Boolean)

取得指定 IViewColumn 之 的提供者特定批註。

For(IRelationalModel, Boolean)

取得指定 IRelationalModel 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (model As IRelationalModel, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

model
IRelationalModel

資料庫模型。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ISequence, Boolean)

取得指定 ISequence 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISequence * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (sequence As ISequence, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

sequence
ISequence

順序。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ISqlQuery, Boolean)

取得指定 ISqlQuery 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISqlQuery * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (sqlQuery As ISqlQuery, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

sqlQuery
ISqlQuery

SQL 查詢。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ISqlQueryColumn, Boolean)

取得指定 ISqlQueryColumn 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As ISqlQueryColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

column
ISqlQueryColumn

資料行。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IStoreFunction, Boolean)

取得指定 IStoreFunction 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunction * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (function As IStoreFunction, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

function
IStoreFunction

函式。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IStoreFunctionParameter, Boolean)

取得指定 IStoreFunctionParameter 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunctionParameter * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (parameter As IStoreFunctionParameter, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

parameter
IStoreFunctionParameter

參數。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IStoreStoredProcedure, Boolean)

取得指定 IStoreStoredProcedure 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedure * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (storedProcedure As IStoreStoredProcedure, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

storedProcedure
IStoreStoredProcedure

預存程式。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IStoreStoredProcedureParameter, Boolean)

取得指定 IStoreStoredProcedureParameter 之 的提供者特定批註。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureParameter * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (parameter As IStoreStoredProcedureParameter, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

parameter
IStoreStoredProcedureParameter

參數。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IStoreStoredProcedureResultColumn, Boolean)

取得指定 IStoreStoredProcedureResultColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreStoredProcedureResultColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IStoreStoredProcedureResultColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

column
IStoreStoredProcedureResultColumn

結果資料行。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ITable, Boolean)

取得指定 ITable 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ITable * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (table As ITable, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

table
ITable

資料表。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ITableIndex, Boolean)

取得指定 ITableIndex 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ITableIndex * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (index As ITableIndex, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

index
ITableIndex

索引。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ITrigger, Boolean)

取得指定 ITrigger 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ITrigger * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (trigger As ITrigger, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

trigger
ITrigger

觸發程式。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IUniqueConstraint, Boolean)

取得指定 IUniqueConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (constraint As IUniqueConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

constraint
IUniqueConstraint

唯一條件約束。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IFunctionColumn, Boolean)

取得指定 IFunctionColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IFunctionColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

column
IFunctionColumn

資料行。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IForeignKeyConstraint, Boolean)

取得指定 IForeignKeyConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (foreignKey As IForeignKeyConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

foreignKey
IForeignKeyConstraint

外部索引鍵。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(IColumn, Boolean)

取得指定 IColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

column
IColumn

資料行。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ICheckConstraint, Boolean)

取得指定 ICheckConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (checkConstraint As ICheckConstraint, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

checkConstraint
ICheckConstraint

檢查條件約束。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ICheckConstraint)

取得指定 ICheckConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (checkConstraint As ICheckConstraint) As IEnumerable(Of IAnnotation)

參數

checkConstraint
ICheckConstraint

檢查條件約束。

傳回

註解。

實作

適用於

For(IColumn)

取得指定 IColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IColumn) As IEnumerable(Of IAnnotation)

參數

column
IColumn

資料行。

傳回

註解。

實作

適用於

For(IForeignKeyConstraint)

取得指定 IForeignKeyConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (foreignKey As IForeignKeyConstraint) As IEnumerable(Of IAnnotation)

參數

foreignKey
IForeignKeyConstraint

外部索引鍵。

傳回

註解。

實作

適用於

For(IFunctionColumn)

取得指定 IFunctionColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IFunctionColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IFunctionColumn) As IEnumerable(Of IAnnotation)

參數

column
IFunctionColumn

資料行。

傳回

註解。

實作

適用於

For(IRelationalModel)

取得指定 IRelationalModel 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IRelationalModel -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (model As IRelationalModel) As IEnumerable(Of IAnnotation)

參數

model
IRelationalModel

資料庫模型。

傳回

註解。

實作

適用於

For(ISequence)

取得指定 ISequence 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISequence -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (sequence As ISequence) As IEnumerable(Of IAnnotation)

參數

sequence
ISequence

順序。

傳回

註解。

實作

適用於

For(IView, Boolean)

取得指定 IView 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IView * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (view As IView, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

view
IView

檢視。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於

For(ISqlQuery)

取得指定 ISqlQuery 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISqlQuery -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (sqlQuery As ISqlQuery) As IEnumerable(Of IAnnotation)

參數

sqlQuery
ISqlQuery

SQL 查詢。

傳回

註解。

實作

適用於

For(IStoreFunction)

取得指定 IStoreFunction 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IStoreFunction -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (function As IStoreFunction) As IEnumerable(Of IAnnotation)

參數

function
IStoreFunction

函式。

傳回

註解。

實作

適用於

For(ITable)

取得指定 ITable 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ITable -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (table As ITable) As IEnumerable(Of IAnnotation)

參數

table
ITable

資料表。

傳回

註解。

實作

適用於

For(ITableIndex)

取得指定 ITableIndex 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (index As ITableIndex) As IEnumerable(Of IAnnotation)

參數

index
ITableIndex

索引。

傳回

註解。

實作

適用於

For(IUniqueConstraint)

取得指定 IUniqueConstraint 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (constraint As IUniqueConstraint) As IEnumerable(Of IAnnotation)

參數

constraint
IUniqueConstraint

唯一條件約束。

傳回

註解。

實作

適用於

For(IView)

取得指定 IView 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IView -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (view As IView) As IEnumerable(Of IAnnotation)

參數

view
IView

檢視。

傳回

註解。

實作

適用於

For(IViewColumn)

取得指定 IViewColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IViewColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IViewColumn) As IEnumerable(Of IAnnotation)

參數

column
IViewColumn

資料行。

傳回

註解。

實作

適用於

For(ISqlQueryColumn)

取得指定 ISqlQueryColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.ISqlQueryColumn -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As ISqlQueryColumn) As IEnumerable(Of IAnnotation)

參數

column
ISqlQueryColumn

資料行。

傳回

註解。

實作

適用於

For(IViewColumn, Boolean)

取得指定 IViewColumn 之 的提供者特定注釋。

public virtual 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>
override this.For : Microsoft.EntityFrameworkCore.Metadata.IViewColumn * bool -> seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation>
Public Overridable Function For (column As IViewColumn, designTime As Boolean) As IEnumerable(Of IAnnotation)

參數

column
IViewColumn

資料行。

designTime
Boolean

模型是否應該包含設計階段組態。

傳回

註解。

實作

適用於