RelationalForeignKeyAnnotations 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RelationalForeignKeyAnnotations(IForeignKey)
为给定 IForeignKey的注释构造 实例。
public RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Public Sub New (foreignKey As IForeignKey)
参数
- foreignKey
- IForeignKey
要使用的 IForeignKey。
适用于
RelationalForeignKeyAnnotations(RelationalAnnotations)
构造由给定批注帮助程序表示的 IForeignKey 的注释的 实例。
protected RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Protected Sub New (annotations As RelationalAnnotations)
参数
- annotations
- RelationalAnnotations
表示 RelationalAnnotations 要批注的 的 IForeignKey 帮助程序。
适用于
RelationalForeignKeyAnnotations(IForeignKey, RelationalFullAnnotationNames)
public RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Public Sub New (foreignKey As IForeignKey, providerFullAnnotationNames As RelationalFullAnnotationNames)
参数
- foreignKey
- IForeignKey
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames
适用于
RelationalForeignKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)
protected RelationalForeignKeyAnnotations (Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations annotations, Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames providerFullAnnotationNames);
new Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalAnnotations * Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames -> Microsoft.EntityFrameworkCore.Metadata.RelationalForeignKeyAnnotations
Protected Sub New (annotations As RelationalAnnotations, providerFullAnnotationNames As RelationalFullAnnotationNames)
参数
- annotations
- RelationalAnnotations
- providerFullAnnotationNames
- Microsoft.EntityFrameworkCore.Metadata.Internal.RelationalFullAnnotationNames