ReferenceCollectionBuilderBase 构造函数

定义

重载

ReferenceCollectionBuilderBase(EntityType, EntityType, InternalRelationshipBuilder)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

ReferenceCollectionBuilderBase(InternalRelationshipBuilder, ReferenceCollectionBuilderBase, Boolean, Boolean, Boolean)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

ReferenceCollectionBuilderBase(EntityType, EntityType, InternalRelationshipBuilder)

Source:
ReferenceCollectionBuilderBase.cs

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

public ReferenceCollectionBuilderBase (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType principalEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType dependentEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase
Public Sub New (principalEntityType As EntityType, dependentEntityType As EntityType, builder As InternalRelationshipBuilder)

参数

principalEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
dependentEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

适用于

ReferenceCollectionBuilderBase(InternalRelationshipBuilder, ReferenceCollectionBuilderBase, Boolean, Boolean, Boolean)

Source:
ReferenceCollectionBuilderBase.cs

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

protected ReferenceCollectionBuilderBase (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilderBase
Protected Sub New (builder As InternalRelationshipBuilder, oldBuilder As ReferenceCollectionBuilderBase, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)

参数

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
foreignKeySet
Boolean
principalKeySet
Boolean
requiredSet
Boolean

适用于