Udostępnij za pośrednictwem


RuntimeModel.GetAdHocEntityTypes Metoda

Definicja

Pobiera wszystkie typy jednostek ad hoc zdefiniowane w modelu.

[System.Diagnostics.DebuggerStepThrough]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType> GetAdHocEntityTypes ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member GetAdHocEntityTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType>
override this.GetAdHocEntityTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType>
Public Overridable Function GetAdHocEntityTypes () As IEnumerable(Of IReadOnlyEntityType)

Zwraca

Wszystkie typy jednostek zdefiniowane w modelu.

Atrybuty

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Dotyczy