RelationalModelAnnotations.GetOrAddDbFunction(MethodInfo) Metodo

Definizione

Restituisce il mapping esistente Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction al metodo specificato o crea una nuova funzione mappata al metodo.

public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction GetOrAddDbFunction (System.Reflection.MethodInfo methodInfo);
abstract member GetOrAddDbFunction : System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction
override this.GetOrAddDbFunction : System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction
Public Overridable Function GetOrAddDbFunction (methodInfo As MethodInfo) As DbFunction

Parametri

methodInfo
MethodInfo

Oggetto MethodInfo per il metodo mappato alla funzione.

Restituisce

Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction

Oggetto Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction.

Si applica a