Partager via


SqlFunctionExpression Constructors

Definition

Overloads

SqlFunctionExpression(String, Boolean, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a built-in niladic function.

SqlFunctionExpression(String, String, Boolean, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a niladic function.

SqlFunctionExpression(SqlExpression, String, Boolean, Boolean, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a niladic function which is invoked on an instance.

SqlFunctionExpression(String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a built-in function.

SqlFunctionExpression(String, String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a function.

SqlFunctionExpression(SqlExpression, String, IEnumerable<SqlExpression>, Boolean, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)

Creates a new instance of the SqlFunctionExpression class which represents a function which is invoked on an instance.

SqlFunctionExpression(Expression, String, String, Boolean, IEnumerable<SqlExpression>, Boolean, Type, RelationalTypeMapping)
SqlFunctionExpression(SqlExpression, String, String, IEnumerable<SqlExpression>, Boolean, Nullable<Boolean>, IEnumerable<Boolean>, Boolean, Type, RelationalTypeMapping)

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.

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

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
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
nullable
Boolean
instancePropagatesNullability
Nullable<Boolean>
argumentsPropagateNullability
IEnumerable<Boolean>
builtIn
Boolean
type
Type
typeMapping
RelationalTypeMapping
Attributes

Applies to