RelationalModelAnnotations.FindDbFunction(MethodInfo) Method

Definition

Finds a IDbFunction that is mapped to the method represented by the given MethodInfo.

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

Parameters

methodInfo
MethodInfo

The MethodInfo for the method that is mapped to the function.

Returns

The IDbFunction or null if the method is not mapped.

Implements

Applies to