Udostępnij przez


ReferenceCollectionBuilderBase Klasa

Definicja

Udostępnia prosty interfejs API do konfigurowania relacji jeden do wielu.

Wystąpienia tej klasy są zwracane z metod przy użyciu interfejsu ModelBuilder API i nie są przeznaczone do bezpośredniej konstrukcji w kodzie aplikacji.

public class ReferenceCollectionBuilderBase : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.IMutableModel>, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder>
type ReferenceCollectionBuilderBase = class
    interface IInfrastructure<IMutableModel>
    interface IInfrastructure<InternalRelationshipBuilder>
Public Class ReferenceCollectionBuilderBase
Implements IInfrastructure(Of IMutableModel), IInfrastructure(Of InternalRelationshipBuilder)
Dziedziczenie
ReferenceCollectionBuilderBase
Pochodne
Implementuje
IInfrastructure<IMutableModel> IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder>

Konstruktory

ReferenceCollectionBuilderBase(EntityType, EntityType, InternalRelationshipBuilder)

Ten interfejs API obsługuje infrastrukturę Platformy Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

ReferenceCollectionBuilderBase(InternalRelationshipBuilder, ReferenceCollectionBuilderBase, Boolean, Boolean, Boolean)

Ten interfejs API obsługuje infrastrukturę Platformy Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

Właściwości

Builder

Ten interfejs API obsługuje infrastrukturę Platformy Entity Framework Core i nie jest przeznaczony do użycia bezpośrednio z kodu. Ten interfejs API może ulec zmianie lub zostać usunięty w przyszłych wersjach.

DependentEntityType

Pobiera zależny typ jednostki używany do konfigurowania tej relacji.

Metadata

Klucz obcy reprezentujący tę relację.

PrincipalEntityType

Pobiera typ jednostki głównej używany do konfigurowania tej relacji.

Jawne implementacje interfejsu

IInfrastructure<IMutableModel>.Instance

Model, do którego należy ta relacja.

IInfrastructure<InternalRelationshipBuilder>.Instance

Pobiera konstruktor wewnętrzny używany do konfigurowania tej relacji.

Metody rozszerzania

GetInfrastructure<T>(IInfrastructure<T>)

Pobiera wartość z właściwości ukrytej przy użyciu polecenia IInfrastructure<T>.

Ta metoda jest zwykle używana przez dostawców baz danych (i innych rozszerzeń). Zwykle nie jest on używany w kodzie aplikacji.

Dotyczy