IRelationalAnnotationProvider.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(ICheckConstraint) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(IColumn, Boolean) |
Gets provider-specific annotations for the given IColumn. |
For(IForeignKeyConstraint, Boolean) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IFunctionColumn, Boolean) |
Gets provider-specific annotations for the given IFunctionColumn. |
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(ICheckConstraint, Boolean) |
Gets provider-specific annotations for the given ICheckConstraint. |
For(IStoreFunction, Boolean) |
Gets provider-specific annotations for the given IStoreFunction. |
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(IStoreFunctionParameter, Boolean) |
Gets provider-specific annotations for the given IStoreFunctionParameter. |
For(IView, Boolean) |
Gets provider-specific annotations for the given IView. |
For(IViewColumn) |
Gets provider-specific annotations for the given IViewColumn. |
For(IUniqueConstraint) |
Gets provider-specific annotations for the given IUniqueConstraint. |
For(IColumn) |
Gets provider-specific annotations for the given IColumn. |
For(IEntityType) | |
For(IForeignKey) | |
For(IForeignKeyConstraint) |
Gets provider-specific annotations for the given IForeignKeyConstraint. |
For(IFunctionColumn) |
Gets provider-specific annotations for the given IFunctionColumn. |
For(IIndex) | |
For(IKey) | |
For(IView) |
Gets provider-specific annotations for the given IView. |
For(IModel) | |
For(IRelationalModel) |
Gets provider-specific annotations for the given IRelationalModel. |
For(ISequence) |
Gets provider-specific annotations for the given ISequence. |
For(ISqlQuery) |
Gets provider-specific annotations for the given ISqlQuery. |
For(ISqlQueryColumn) |
Gets provider-specific annotations for the given ISqlQueryColumn. |
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(IProperty) | |
For(IViewColumn, Boolean) |
Gets provider-specific annotations for the given IViewColumn. |
For(ICheckConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint.
Returns
The annotations.
Applies to
For(IColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IForeignKeyConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- foreignKey
- IForeignKeyConstraint
The foreign key.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IFunctionColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IFunctionColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IRelationalModel, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- model
- IRelationalModel
The database model.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ISequence, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- sequence
- ISequence
The sequence.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ISqlQuery, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- sqlQuery
- ISqlQuery
The SQL query.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ISqlQueryColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- ISqlQueryColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ICheckConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IStoreFunction, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- function
- IStoreFunction
The function.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IStoreStoredProcedure, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- storedProcedure
- IStoreStoredProcedure
The stored procedure.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IStoreStoredProcedureParameter, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- parameter
- IStoreStoredProcedureParameter
The parameter.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IStoreStoredProcedureResultColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
The result column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ITable, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- table
- ITable
The table.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ITableIndex, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- index
- ITableIndex
The index.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(ITrigger, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- trigger
- ITrigger
The trigger.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IUniqueConstraint, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- constraint
- IUniqueConstraint
The unique constraint.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IStoreFunctionParameter, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- parameter
- IStoreFunctionParameter
The parameter.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IView, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- view
- IView
The view.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
For(IViewColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IViewColumn
The column.
Returns
The annotations.
Applies to
For(IUniqueConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- constraint
- IUniqueConstraint
The unique constraint.
Returns
The annotations.
Applies to
For(IColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IColumn
The column.
Returns
The annotations.
Applies to
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
Parameters
- entityType
- IEntityType
Returns
Applies to
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
Parameters
- foreignKey
- IForeignKey
Returns
Applies to
For(IForeignKeyConstraint)
Gets provider-specific annotations for the given 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)
Parameters
- foreignKey
- IForeignKeyConstraint
The foreign key.
Returns
The annotations.
Applies to
For(IFunctionColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IFunctionColumn
The column.
Returns
The annotations.
Applies to
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
Parameters
- index
- IIndex
Returns
Applies to
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
Parameters
- key
- IKey
Returns
Applies to
For(IView)
Gets provider-specific annotations for the given 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)
Parameters
- view
- IView
The view.
Returns
The annotations.
Applies to
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
Parameters
- model
- IModel
Returns
Applies to
For(IRelationalModel)
Gets provider-specific annotations for the given 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)
Parameters
- model
- IRelationalModel
The database model.
Returns
The annotations.
Applies to
For(ISequence)
Gets provider-specific annotations for the given 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)
Parameters
- sequence
- ISequence
The sequence.
Returns
The annotations.
Applies to
For(ISqlQuery)
Gets provider-specific annotations for the given 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)
Parameters
- sqlQuery
- ISqlQuery
The SQL query.
Returns
The annotations.
Applies to
For(ISqlQueryColumn)
Gets provider-specific annotations for the given 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)
Parameters
- column
- ISqlQueryColumn
The column.
Returns
The annotations.
Applies to
For(IStoreFunction)
Gets provider-specific annotations for the given 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)
Parameters
- function
- IStoreFunction
The function.
Returns
The annotations.
Applies to
For(ITable)
Gets provider-specific annotations for the given 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)
Parameters
- table
- ITable
The table.
Returns
The annotations.
Applies to
For(ITableIndex)
Gets provider-specific annotations for the given 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)
Parameters
- index
- ITableIndex
The index.
Returns
The annotations.
Applies to
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
Parameters
- property
- IProperty
Returns
Applies to
For(IViewColumn, Boolean)
Gets provider-specific annotations for the given 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)
Parameters
- column
- IViewColumn
The column.
- designTime
- Boolean
Whether the model should contain design-time configuration.
Returns
The annotations.
Applies to
Entity Framework