SqlFunctionExpression Constructors
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.
Overloads
SqlFunctionExpression(String, Type)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (string functionName, Type returnType);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : string * Type -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (functionName As String, returnType As Type)
Parameters
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
Applies to
SqlFunctionExpression(String, Type, Boolean)
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (string functionName, Type returnType, bool niladic);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : string * Type * bool -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (functionName As String, returnType As Type, niladic As Boolean)
Parameters
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- niladic
- Boolean
A value indicating whether the function is niladic.
Applies to
SqlFunctionExpression(String, Type, IEnumerable<Expression>)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : string * Type * seq<System.Linq.Expressions.Expression> -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (functionName As String, returnType As Type, arguments As IEnumerable(Of Expression))
Parameters
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- arguments
- IEnumerable<Expression>
The arguments.
Applies to
SqlFunctionExpression(Expression, String, Type, Boolean)
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, bool niladic);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : System.Linq.Expressions.Expression * string * Type * bool -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (instance As Expression, functionName As String, returnType As Type, niladic As Boolean)
Parameters
- instance
- Expression
The instance on which the function is called.
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- niladic
- Boolean
A value indicating whether the function is niladic.
Applies to
SqlFunctionExpression(Expression, String, Type, IEnumerable<Expression>)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : System.Linq.Expressions.Expression * string * Type * seq<System.Linq.Expressions.Expression> -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (instance As Expression, functionName As String, returnType As Type, arguments As IEnumerable(Of Expression))
Parameters
- instance
- Expression
The instance on which the function is called.
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- arguments
- IEnumerable<Expression>
The arguments.
Applies to
SqlFunctionExpression(String, Type, String, IEnumerable<Expression>)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (string functionName, Type returnType, string schema, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : string * Type * string * seq<System.Linq.Expressions.Expression> -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (functionName As String, returnType As Type, schema As String, arguments As IEnumerable(Of Expression))
Parameters
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- schema
- String
The schema this function exists in if any.
- arguments
- IEnumerable<Expression>
The arguments.
Applies to
SqlFunctionExpression(String, Type, String, IEnumerable<Expression>, RelationalTypeMapping, IEnumerable<RelationalTypeMapping>)
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (string functionName, Type returnType, string schema, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping resultTypeMapping = default, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> argumentTypeMappings = default);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : string * Type * string * seq<System.Linq.Expressions.Expression> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * seq<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (functionName As String, returnType As Type, schema As String, arguments As IEnumerable(Of Expression), Optional resultTypeMapping As RelationalTypeMapping = Nothing, Optional argumentTypeMappings As IEnumerable(Of RelationalTypeMapping) = Nothing)
Parameters
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- schema
- String
The schema this function exists in if any.
- arguments
- IEnumerable<Expression>
The arguments.
- resultTypeMapping
- RelationalTypeMapping
The result type mapping.
- argumentTypeMappings
- IEnumerable<RelationalTypeMapping>
The type mappings for each argument.
Applies to
SqlFunctionExpression(Expression, String, Type, IEnumerable<Expression>, RelationalTypeMapping, RelationalTypeMapping, IEnumerable<RelationalTypeMapping>)
- Source:
- SqlFunctionExpression.cs
Initializes a new instance of the SqlFunctionExpression class.
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping resultTypeMapping = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping instanceTypeMapping = default, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> argumentTypeMappings = default);
new Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression : System.Linq.Expressions.Expression * string * Type * seq<System.Linq.Expressions.Expression> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * seq<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> Microsoft.EntityFrameworkCore.Query.Expressions.SqlFunctionExpression
Public Sub New (instance As Expression, functionName As String, returnType As Type, arguments As IEnumerable(Of Expression), Optional resultTypeMapping As RelationalTypeMapping = Nothing, Optional instanceTypeMapping As RelationalTypeMapping = Nothing, Optional argumentTypeMappings As IEnumerable(Of RelationalTypeMapping) = Nothing)
Parameters
- instance
- Expression
The instance on which the function is called.
- functionName
- String
Name of the function.
- returnType
- Type
The return type.
- arguments
- IEnumerable<Expression>
The arguments.
- resultTypeMapping
- RelationalTypeMapping
The result type mapping.
- instanceTypeMapping
- RelationalTypeMapping
The instance type mapping.
- argumentTypeMappings
- IEnumerable<RelationalTypeMapping>
The type mappings for each argument.
Applies to
Entity Framework