Bagikan melalui


ConventionModelExtensions.GetEntityTypes Metode

Definisi

Overload

GetEntityTypes(IConventionModel, Type)
Kedaluwarsa.

Mendapatkan jenis entitas yang cocok dengan jenis yang diberikan.

GetEntityTypes(IConventionModel, String)
Kedaluwarsa.

Mendapatkan jenis entitas yang cocok dengan nama yang diberikan.

GetEntityTypes(IConventionModel, Type)

Perhatian

Use IConventionEntityType.FindEntityTypes

Mendapatkan jenis entitas yang cocok dengan jenis yang diberikan.

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

Parameter

model
IConventionModel

Model untuk menemukan jenis entitas.

type
Type

Jenis jenis entitas yang akan ditemukan.

Mengembalikan

Jenis entitas ditemukan.

Atribut

Berlaku untuk

GetEntityTypes(IConventionModel, String)

Perhatian

Use FindEntityTypes(Type) or FindEntityType(string)

Mendapatkan jenis entitas yang cocok dengan nama yang diberikan.

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

Parameter

model
IConventionModel

Model untuk menemukan jenis entitas.

name
String

Nama jenis entitas yang akan ditemukan.

Mengembalikan

Jenis entitas ditemukan.

Atribut

Berlaku untuk