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
模型是否应包含设计时配置。
返回
批注。