Condividi tramite


MutableModelExtensions.GetEntityTypes Metodo

Definizione

Overload

GetEntityTypes(IMutableModel, String)
Obsoleti.

Ottiene i tipi di entità corrispondenti al nome specificato.

GetEntityTypes(IMutableModel, Type)
Obsoleti.

Ottiene i tipi di entità corrispondenti al tipo specificato.

GetEntityTypes(IMutableModel, String)

Attenzione

Use FindEntityTypes(Type) or FindEntityType(string)

Ottiene i tipi di entità corrispondenti al nome specificato.

[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> GetEntityTypes (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindEntityTypes(Type) or FindEntityType(string)")]
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> GetEntityTypes (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetEntityTypes : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use FindEntityTypes(Type) or FindEntityType(string)")>]
static member GetEntityTypes : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
<Extension()>
Public Function GetEntityTypes (model As IMutableModel, name As String) As IReadOnlyCollection(Of IMutableEntityType)

Parametri

model
IMutableModel

Modello in cui trovare il tipo di entità.

name
String

Nome del tipo di entità da trovare.

Restituisce

I tipi di entità trovati.

Attributi

Si applica a

GetEntityTypes(IMutableModel, Type)

Attenzione

Use IMutableEntityType.FindEntityTypes

Ottiene i tipi di entità corrispondenti al tipo specificato.

[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> GetEntityTypes (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use IMutableEntityType.FindEntityTypes")]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType> GetEntityTypes (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetEntityTypes : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use IMutableEntityType.FindEntityTypes")>]
static member GetEntityTypes : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType>
<Extension()>
Public Function GetEntityTypes (model As IMutableModel, type As Type) As IReadOnlyCollection(Of IMutableEntityType)
<Extension()>
Public Function GetEntityTypes (model As IMutableModel, type As Type) As IEnumerable(Of IMutableEntityType)

Parametri

model
IMutableModel

Modello in cui trovare il tipo di entità.

type
Type

Tipo del tipo di entità da trovare.

Restituisce

I tipi di entità trovati.

Attributi

Si applica a