다음을 통해 공유


ConventionModelExtensions.GetEntityTypes 메서드

정의

오버로드

GetEntityTypes(IConventionModel, Type)
사용되지 않음.

지정된 형식과 일치하는 엔터티 형식을 가져옵니다.

GetEntityTypes(IConventionModel, String)
사용되지 않음.

지정된 이름과 일치하는 엔터티 형식을 가져옵니다.

GetEntityTypes(IConventionModel, Type)

주의

Use IConventionEntityType.FindEntityTypes

지정된 형식과 일치하는 엔터티 형식을 가져옵니다.

[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)

매개 변수

model
IConventionModel

엔터티 형식을 찾을 모델입니다.

type
Type

찾을 엔터티 형식의 형식입니다.

반환

찾은 엔터티 형식입니다.

특성

적용 대상

GetEntityTypes(IConventionModel, String)

주의

Use FindEntityTypes(Type) or FindEntityType(string)

지정된 이름과 일치하는 엔터티 형식을 가져옵니다.

[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)

매개 변수

model
IConventionModel

엔터티 형식을 찾을 모델입니다.

name
String

찾을 엔터티 형식의 이름입니다.

반환

찾은 엔터티 형식입니다.

특성

적용 대상