Udostępnij za pośrednictwem


RuntimeEntityType.IReadOnlyEntityType.FindProperty(String) Metoda

Definicja

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

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

Parametry

name
String

Nazwa właściwości.

Zwraca

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

Implementuje

Atrybuty

Dotyczy