ReferenceCollectionBuilderBase 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ReferenceCollectionBuilderBase(EntityType, EntityType, InternalRelationshipBuilder) |
此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。 |
ReferenceCollectionBuilderBase(InternalRelationshipBuilder, ReferenceCollectionBuilderBase, Boolean, Boolean, Boolean) |
此 API 支援 Entity Framework Core 基礎結構,而且不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。 |
ReferenceCollectionBuilderBase(EntityType, EntityType, InternalRelationshipBuilder)
此 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)
此 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
- oldBuilder
- ReferenceCollectionBuilderBase
- foreignKeySet
- Boolean
- principalKeySet
- Boolean
- requiredSet
- Boolean