共用方式為


CollectionOwnershipBuilder<TEntity,TDependentEntity> 建構函式

定義

多載

CollectionOwnershipBuilder<TEntity,TDependentEntity>(EntityType, EntityType, InternalRelationshipBuilder)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

CollectionOwnershipBuilder<TEntity,TDependentEntity>(InternalRelationshipBuilder, CollectionOwnershipBuilder<TEntity,TDependentEntity>, Boolean, Boolean, Boolean)

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

CollectionOwnershipBuilder<TEntity,TDependentEntity>(EntityType, EntityType, InternalRelationshipBuilder)

來源:
CollectionOwnershipBuilder%60.cs

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public CollectionOwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
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

適用於

CollectionOwnershipBuilder<TEntity,TDependentEntity>(InternalRelationshipBuilder, CollectionOwnershipBuilder<TEntity,TDependentEntity>, Boolean, Boolean, Boolean)

來源:
CollectionOwnershipBuilder%60.cs

此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

protected CollectionOwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<TEntity,TDependentEntity> oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
new Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionOwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Protected Sub New (builder As InternalRelationshipBuilder, oldBuilder As CollectionOwnershipBuilder(Of TEntity, TDependentEntity), 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

適用於