Language

RelationalModelAnnotations.GetOrAddDbFunction(MethodInfo) メソッド

定義

指定されたメソッドにマップされている既存の Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction を返すか、メソッドにマップされた新しい関数を作成します。

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

パラメーター

methodInfo
MethodInfo

関数にマップされるメソッドの MethodInfo 。

戻り値

Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction

Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction。

適用対象