Udostępnij za pośrednictwem


RuntimeModel.IReadOnlyModel.FindEntityType Metoda

Definicja

Przeciążenia

IReadOnlyModel.FindEntityType(String)

Pobiera typ jednostki o podanej nazwie. Zwraca wartość null , jeśli nie znaleziono typu jednostki o podanej nazwie lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.

IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)

Pobiera typ jednostki dla danej nazwy podstawowej, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null , jeśli nie znaleziono pasującego typu jednostki.

IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)

Pobiera typ jednostki dla danego typu, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null , jeśli nie znaleziono pasującego typu jednostki.

IReadOnlyModel.FindEntityType(Type)

Pobiera jednostkę, która mapuje daną klasę jednostki. Zwraca wartość null , jeśli nie znaleziono żadnego typu jednostki z danym typem CLR lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.

IReadOnlyModel.FindEntityType(String)

Pobiera typ jednostki o podanej nazwie. Zwraca wartość null , jeśli nie znaleziono typu jednostki o podanej nazwie lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType

Parametry

name
String

Nazwa typu jednostki do znalezienia.

Zwraca

Typ jednostki lub null jeśli nie zostanie znaleziony żaden.

Implementuje

Atrybuty

Dotyczy

IReadOnlyModel.FindEntityType(String, String, IReadOnlyEntityType)

Pobiera typ jednostki dla danej nazwy podstawowej, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null , jeśli nie znaleziono pasującego typu jednostki.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (name As String, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType

Parametry

name
String

Nazwa typu jednostki do znalezienia.

definingNavigationName
String

Definiowanie nawigacji typu jednostki do znalezienia.

definingEntityType
IReadOnlyEntityType

Definiowanie typu jednostki typu jednostki do znalezienia.

Zwraca

Typ jednostki lub null jeśli nie zostanie znaleziony żaden.

Implementuje

Atrybuty

Dotyczy

IReadOnlyModel.FindEntityType(Type, String, IReadOnlyEntityType)

Pobiera typ jednostki dla danego typu, definiując nazwę nawigacji i definiujący typ jednostki. Zwraca wartość null , jeśli nie znaleziono pasującego typu jednostki.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType definingEntityType);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type, definingNavigationName As String, definingEntityType As IReadOnlyEntityType) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType

Parametry

type
Type

Typ jednostki do znalezienia.

definingNavigationName
String

Definiowanie nawigacji typu jednostki do znalezienia.

definingEntityType
IReadOnlyEntityType

Definiowanie typu jednostki typu jednostki do znalezienia.

Zwraca

Typ jednostki lub null jeśli nie zostanie znaleziony żaden.

Implementuje

Atrybuty

Dotyczy

IReadOnlyModel.FindEntityType(Type)

Pobiera jednostkę, która mapuje daną klasę jednostki. Zwraca wartość null , jeśli nie znaleziono żadnego typu jednostki z danym typem CLR lub dany typ CLR jest używany przez typ jednostki typu współużytkowanego lub typ jednostki ma zdefiniowaną nawigację.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? IReadOnlyModel.FindEntityType (Type type);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType IReadOnlyModel.FindEntityType (Type type);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel.FindEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Function FindEntityType (type As Type) As IReadOnlyEntityType Implements IReadOnlyModel.FindEntityType

Parametry

type
Type

Typ do znalezienia odpowiedniego typu jednostki.

Zwraca

Typ jednostki lub null jeśli nie zostanie znaleziony żaden.

Implementuje

Atrybuty

Dotyczy