Condividi tramite


CollectionOwnershipBuilder<TEntity,TDependentEntity> Costruttori

Definizione

Overload

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

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

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

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

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

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

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)

Parametri

declaringEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
relatedEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Si applica a

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

Questa API supporta l'infrastruttura Entity Framework Core e non deve essere usata direttamente dal codice. Questa API può cambiare o essere rimossa nelle versioni future.

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)

Parametri

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

Si applica a