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, Boolean, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a built-in niladic function.
public SqlFunctionExpression (string functionName, bool nullable, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (string functionName, bool nullable, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (functionName As String, nullable As Boolean, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- functionName
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(String, String, Boolean, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a niladic function.
public SqlFunctionExpression (string schema, string functionName, bool nullable, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (string schema, string functionName, bool nullable, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : string * string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (schema As String, functionName As String, nullable As Boolean, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- schema
- String
The schema in which the function is defined.
- functionName
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(SqlExpression, String, Boolean, Boolean, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a niladic function which is invoked on an instance.
public SqlFunctionExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string functionName, bool nullable, bool instancePropagatesNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string functionName, bool nullable, bool instancePropagatesNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * bool * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (instance As SqlExpression, functionName As String, nullable As Boolean, instancePropagatesNullability As Boolean, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- instance
- SqlExpression
An expression on which the function is defined.
- functionName
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- instancePropagatesNullability
- Boolean
A value indicating if instance propagates null to result.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a built-in function.
public SqlFunctionExpression (string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (functionName As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), type As Type, typeMapping As RelationalTypeMapping)
Parameters
- functionName
- String
The name of the function.
- arguments
- IEnumerable<SqlExpression>
The arguments of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- argumentsPropagateNullability
- IEnumerable<Boolean>
A list of bool values indicating whether individual arguments propagate null to result.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(String, String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a function.
public SqlFunctionExpression (string schema, string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (string? schema, string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (schema As String, functionName As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), type As Type, typeMapping As RelationalTypeMapping)
Parameters
- schema
- String
The schema in which the function is defined.
- functionName
- String
The name of the function.
- arguments
- IEnumerable<SqlExpression>
The arguments of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- argumentsPropagateNullability
- IEnumerable<Boolean>
A list of bool values indicating whether individual arguments propagate null to result.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(SqlExpression, String, IEnumerable<SqlExpression>, Boolean, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
Creates a new instance of the SqlFunctionExpression class which represents a function which is invoked on an instance.
public SqlFunctionExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, bool instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlFunctionExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string functionName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, bool instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (instance As SqlExpression, functionName As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, instancePropagatesNullability As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), type As Type, typeMapping As RelationalTypeMapping)
Parameters
- instance
- SqlExpression
An expression on which the function is applied.
- functionName
- String
The name of the function.
- arguments
- IEnumerable<SqlExpression>
The arguments of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- instancePropagatesNullability
- Boolean
A value indicating if instance propagates null to result.
- argumentsPropagateNullability
- IEnumerable<Boolean>
A list of bool values indicating whether individual arguments propagate null to result.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlFunctionExpression(Expression, String, String, Boolean, IEnumerable<SqlExpression>, Boolean, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
- Source:
- SqlFunctionExpression.cs
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string schema, string name, bool niladic, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool builtIn, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : System.Linq.Expressions.Expression * string * string * bool * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (instance As Expression, schema As String, name As String, niladic As Boolean, arguments As IEnumerable(Of SqlExpression), builtIn As Boolean, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- instance
- Expression
- schema
- String
- name
- String
- niladic
- Boolean
- arguments
- IEnumerable<SqlExpression>
- builtIn
- Boolean
- type
- Type
- typeMapping
- RelationalTypeMapping
Applies to
SqlFunctionExpression(SqlExpression, String, String, IEnumerable<SqlExpression>, Boolean, Nullable<Boolean>, IEnumerable<Boolean>, Boolean, Type, RelationalTypeMapping)
- Source:
- SqlFunctionExpression.cs
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public SqlFunctionExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? instance, string? schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression>? arguments, bool nullable, bool? instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool>? argumentsPropagateNullability, bool builtIn, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * Nullable<bool> * seq<bool> * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Sub New (instance As SqlExpression, schema As String, name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, instancePropagatesNullability As Nullable(Of Boolean), argumentsPropagateNullability As IEnumerable(Of Boolean), builtIn As Boolean, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- instance
- SqlExpression
- schema
- String
- name
- String
- arguments
- IEnumerable<SqlExpression>
- nullable
- Boolean
- argumentsPropagateNullability
- IEnumerable<Boolean>
- builtIn
- Boolean
- type
- Type
- typeMapping
- RelationalTypeMapping
- Attributes
Applies to
Entity Framework