Condividi tramite


IReadOnlyEntityType.GetProperty(String) Metodo

Definizione

Ottiene una proprietà con il nome specificato.

public virtual Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty GetProperty (string name);
abstract member GetProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
override this.GetProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty
Public Overridable Function GetProperty (name As String) As IReadOnlyProperty

Parametri

name
String

Nome della proprietà.

Restituisce

Proprietà.

Commenti

Questa API trova solo proprietà scalari e non trova proprietà di navigazione. Usare FindNavigation(String) per trovare una proprietà di navigazione.

Si applica a