RelationalModelExtensions.FindDbFunction Method

Definition

Overloads

FindDbFunction(IReadOnlyModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IReadOnlyModel, MethodInfo)

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

FindDbFunction(IMutableModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IMutableModel, MethodInfo)

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

FindDbFunction(IModel, MethodInfo)

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

FindDbFunction(IConventionModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IConventionModel, MethodInfo)

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

FindDbFunction(IModel, String)

Finds a function that is mapped to the method represented by the given name.

FindDbFunction(IReadOnlyModel, String)

Finds a function that is mapped to the method represented by the given name.

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

Parameters

model
IReadOnlyModel

The model to find the function in.

name
String

The model name of the function.

Returns

The function or null if the method is not mapped.

Applies to

FindDbFunction(IReadOnlyModel, MethodInfo)

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

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

Parameters

model
IReadOnlyModel

The model to find the function in.

method
MethodInfo

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

Returns

The function or null if the method is not mapped.

Applies to

FindDbFunction(IMutableModel, String)

Finds a function that is mapped to the method represented by the given name.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member FindDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function FindDbFunction (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 function or null if the method is not mapped.

Applies to

FindDbFunction(IMutableModel, MethodInfo)

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

public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction? FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, System.Reflection.MethodInfo method);
static member FindDbFunction : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableDbFunction
<Extension()>
Public Function FindDbFunction (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 function or null if the method is not mapped.

Applies to

FindDbFunction(IModel, MethodInfo)

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

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

Parameters

model
IModel

The model to find the function in.

method
MethodInfo

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

Returns

The function or null if the method is not mapped.

Applies to

FindDbFunction(IConventionModel, String)

Finds a function that is mapped to the method represented by the given name.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member FindDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function FindDbFunction (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 function or null if the method is not mapped.

Applies to

FindDbFunction(IConventionModel, MethodInfo)

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

public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction? FindDbFunction (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, System.Reflection.MethodInfo method);
static member FindDbFunction : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * System.Reflection.MethodInfo -> Microsoft.EntityFrameworkCore.Metadata.IConventionDbFunction
<Extension()>
Public Function FindDbFunction (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 function or null if the method is not mapped.

Applies to

FindDbFunction(IModel, String)

Finds a function that is mapped to the method represented by the given name.

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

Parameters

model
IModel

The model to find the function in.

name
String

The model name of the function.

Returns

The function or null if the method is not mapped.

Applies to