Udostępnij za pośrednictwem


RuntimeEntityType.IReadOnlyEntityType.FindServiceProperty(String) Metoda

Definicja

Pobiera właściwość usługi o podanej nazwie. Zwraca wartość null , jeśli żadna właściwość o podanej nazwie nie jest zdefiniowana.

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

Parametry

name
String

Nazwa właściwości usługi.

Zwraca

Właściwość usługi lub null jeśli nie zostanie znaleziona żadna.

Implementuje

Atrybuty

Dotyczy