RelationalAnnotationProvider.For Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
For(IRelationalModel, Boolean) |
Gets provider-specific annotations for the given IRelationalModel. |
For(ISequence, Boolean) |
Gets provider-specific annotations for the given ISequence. |
For(ISqlQuery, Boolean) |
Gets provider-specific annotations for the given ISqlQuery. |
For(ISqlQueryColumn, Boolean) |
Gets provider-specific annotations for the given ISqlQueryColumn. |
For(IStoreFunction, Boolean) |
Gets provider-specific annotations for the given IStoreFunction. |
For(IStoreFunctionParameter, Boolean) |
Gets provider-specific annotations for the given IStoreFunctionParameter. |
For(IStoreStoredProcedure, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedure. |
For(IStoreStoredProcedureParameter, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedureParameter. |
For(IStoreStoredProcedureResultColumn, Boolean) |
Gets provider-specific annotations for the given IStoreStoredProcedureResultColumn. |
For(ITable, Boolean) |
Gets provider-specific annotations for the given ITable. |
For(ITableIndex, Boolean) |
Gets provider-specific annotations for the given ITableIndex. |
For(ITrigger, Boolean) |
Gets provider-specific annotations for the given ITrigger. |
For(IUniqueConstraint, Boolean) |
Gets provider-specific annotations for the given IUniqueConstraint. |
For(IFunctionColumn, Boolean) |
Gets provider-specific annotations for the given IFunctionColumn. |
For(IForeignKeyConstraint, Boolean) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IColumn, Boolean) |
Gets provider-specific annotations for the given IColumn. |
For(ICheckConstraint, Boolean) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(ICheckConstraint) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(IColumn) |
Gets provider-specific annotations for the given IColumn. |
For(IForeignKeyConstraint) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IFunctionColumn) |
Gets provider-specific annotations for the given IFunctionColumn. |
For(IRelationalModel) |
Gets provider-specific annotations for the given IRelationalModel. |
For(ISequence) |
Gets provider-specific annotations for the given ISequence. |
For(IView, Boolean) |
Gets provider-specific annotations for the given IView. |
For(ISqlQuery) |
Gets provider-specific annotations for the given ISqlQuery. |
For(IStoreFunction) |
Gets provider-specific annotations for the given IStoreFunction. |
For(ITable) |
Gets provider-specific annotations for the given ITable. |
For(ITableIndex) |
Gets provider-specific annotations for the given ITableIndex. |
For(IUniqueConstraint) |
Gets provider-specific annotations for the given IUniqueConstraint. |
For(IView) |
Gets provider-specific annotations for the given IView. |
For(IViewColumn) |
Gets provider-specific annotations for the given IViewColumn. |
For(ISqlQueryColumn) |
Gets provider-specific annotations for the given ISqlQueryColumn. |
For(IViewColumn, Boolean) |
Gets provider-specific annotations for the given IViewColumn. |
For(IRelationalModel, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- model
- IRelationalModel
The database model.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ISequence, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- sequence
- ISequence
The sequence.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ISqlQuery, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- sqlQuery
- ISqlQuery
The SQL query.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ISqlQueryColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- ISqlQueryColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IStoreFunction, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- function
- IStoreFunction
The function.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IStoreFunctionParameter, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- parameter
- IStoreFunctionParameter
The parameter.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IStoreStoredProcedure, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- storedProcedure
- IStoreStoredProcedure
The stored procedure.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IStoreStoredProcedureParameter, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- parameter
- IStoreStoredProcedureParameter
The parameter.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IStoreStoredProcedureResultColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
The result column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ITable, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- table
- ITable
The table.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ITableIndex, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- index
- ITableIndex
The index.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ITrigger, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- trigger
- ITrigger
The trigger.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IUniqueConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- constraint
- IUniqueConstraint
The unique constraint.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IFunctionColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IFunctionColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IForeignKeyConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- foreignKey
- IForeignKeyConstraint
The foreign key.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(IColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ICheckConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ICheckConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint.
Returns
The annotations.
Implements
Applies to
For(IColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IColumn
The column.
Returns
The annotations.
Implements
Applies to
For(IForeignKeyConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- foreignKey
- IForeignKeyConstraint
The foreign key.
Returns
The annotations.
Implements
Applies to
For(IFunctionColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IFunctionColumn
The column.
Returns
The annotations.
Implements
Applies to
For(IRelationalModel)
Gets provider-specific annotations for the given 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)
Parameters
- model
- IRelationalModel
The database model.
Returns
The annotations.
Implements
Applies to
For(ISequence)
Gets provider-specific annotations for the given 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)
Parameters
- sequence
- ISequence
The sequence.
Returns
The annotations.
Implements
Applies to
For(IView, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- view
- IView
The view.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
For(ISqlQuery)
Gets provider-specific annotations for the given 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)
Parameters
- sqlQuery
- ISqlQuery
The SQL query.
Returns
The annotations.
Implements
Applies to
For(IStoreFunction)
Gets provider-specific annotations for the given 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)
Parameters
- function
- IStoreFunction
The function.
Returns
The annotations.
Implements
Applies to
For(ITable)
Gets provider-specific annotations for the given 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)
Parameters
- table
- ITable
The table.
Returns
The annotations.
Implements
Applies to
For(ITableIndex)
Gets provider-specific annotations for the given 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)
Parameters
- index
- ITableIndex
The index.
Returns
The annotations.
Implements
Applies to
For(IUniqueConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- constraint
- IUniqueConstraint
The unique constraint.
Returns
The annotations.
Implements
Applies to
For(IView)
Gets provider-specific annotations for the given 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)
Parameters
- view
- IView
The view.
Returns
The annotations.
Implements
Applies to
For(IViewColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IViewColumn
The column.
Returns
The annotations.
Implements
Applies to
For(ISqlQueryColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- ISqlQueryColumn
The column.
Returns
The annotations.
Implements
Applies to
For(IViewColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IViewColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Implements
Applies to
Entity Framework