Share via


RelationalModelExtensions.RemoveDbFunction Method

Definition

Overloads

RemoveDbFunction(IConventionModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IConventionModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IMutableModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IMutableModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

RemoveDbFunction(IConventionModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IConventionModel, method As MethodInfo) As IConventionDbFunction

Parameters

model
IConventionModel

The model to find the function in.

method
MethodInfo

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

Returns

The removed function or null if the method is not mapped.

Applies to

RemoveDbFunction(IConventionModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IConventionModel, name As String) As IConventionDbFunction

Parameters

model
IConventionModel

The model to find the function in.

name
String

The model name of the function.

Returns

The removed function or null if the method is not mapped.

Applies to

RemoveDbFunction(IMutableModel, MethodInfo)

Removes the function that is mapped to the method represented by the given MethodInfo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IMutableModel, method As MethodInfo) As IMutableDbFunction

Parameters

model
IMutableModel

The model to find the function in.

method
MethodInfo

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

Returns

The removed function or null if the method is not mapped.

Applies to

RemoveDbFunction(IMutableModel, String)

Removes the function that is mapped to the method represented by the given MethodInfo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? RemoveDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member RemoveDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function RemoveDbFunction (model As IMutableModel, name As String) As IMutableDbFunction

Parameters

model
IMutableModel

The model to find the function in.

name
String

The model name of the function.

Returns

The removed function or null if the method is not mapped.

Applies to