RelationalModelAnnotations.GetOrAddDbFunction(MethodInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Either returns the existing Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction mapped to the given method or creates a new function mapped to the method.
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
Parameters
- methodInfo
- MethodInfo
The MethodInfo for the method that is mapped to the function.
Returns
Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction
The Microsoft.EntityFrameworkCore.Metadata.Internal.DbFunction.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework