ReferenceOwnershipBuilder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReferenceOwnershipBuilder(EntityType, EntityType, InternalRelationshipBuilder) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
ReferenceOwnershipBuilder(InternalRelationshipBuilder, ReferenceOwnershipBuilder, Boolean, Boolean, Boolean, Boolean) |
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。 |
ReferenceOwnershipBuilder(EntityType, EntityType, InternalRelationshipBuilder)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
public ReferenceOwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder
Public Sub New (declaringEntityType As EntityType, relatedEntityType As EntityType, builder As InternalRelationshipBuilder)
参数
- declaringEntityType
- Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
- relatedEntityType
- Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
- builder
- Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
适用于
ReferenceOwnershipBuilder(InternalRelationshipBuilder, ReferenceOwnershipBuilder, Boolean, Boolean, Boolean, Boolean)
此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。
protected ReferenceOwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder oldBuilder, bool inverted = false, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceOwnershipBuilder
Protected Sub New (builder As InternalRelationshipBuilder, oldBuilder As ReferenceOwnershipBuilder, Optional inverted As Boolean = false, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)
参数
- builder
- Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
- oldBuilder
- ReferenceOwnershipBuilder
- inverted
- Boolean
- foreignKeySet
- Boolean
- principalKeySet
- Boolean
- requiredSet
- Boolean
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈