共用方式為


CollectionCollectionBuilder<TLeftEntity,TRightEntity> 建構函式

定義

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public CollectionCollectionBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType leftEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType rightEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableSkipNavigation leftNavigation, Microsoft.EntityFrameworkCore.Metadata.IMutableSkipNavigation rightNavigation);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionCollectionBuilder<'LeftEntity, 'RightEntity (requires 'LeftEntity : null and 'RightEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableSkipNavigation * Microsoft.EntityFrameworkCore.Metadata.IMutableSkipNavigation -> Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionCollectionBuilder<'LeftEntity, 'RightEntity (requires 'LeftEntity : null and 'RightEntity : null)>
Public Sub New (leftEntityType As IMutableEntityType, rightEntityType As IMutableEntityType, leftNavigation As IMutableSkipNavigation, rightNavigation As IMutableSkipNavigation)

參數

leftEntityType
IMutableEntityType
rightEntityType
IMutableEntityType
leftNavigation
IMutableSkipNavigation
rightNavigation
IMutableSkipNavigation
屬性

適用於