SqlFunctionExpression 构造函数

定义

重载

SqlFunctionExpression(String, Boolean, Type, RelationalTypeMapping)

创建 表示内置 niladic 函数的 SqlFunctionExpression 类的新实例。

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

创建 表示 niladic 函数的 SqlFunctionExpression 类的新实例。

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

创建 类的新实例, SqlFunctionExpression 该实例表示在实例上调用的 niladic 函数。

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

创建 表示内置函数的 SqlFunctionExpression 类的新实例。

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

创建 表示函数的 SqlFunctionExpression 类的新实例。

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

创建 类的新实例, SqlFunctionExpression 该实例表示在实例上调用的函数。

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

SqlFunctionExpression(String, Boolean, Type, RelationalTypeMapping)

创建 表示内置 niladic 函数的 SqlFunctionExpression 类的新实例。

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)

参数

functionName
String

函数的名称。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

创建 表示 niladic 函数的 SqlFunctionExpression 类的新实例。

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)

参数

schema
String

在其中定义函数的架构。

functionName
String

函数的名称。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

创建 类的新实例, SqlFunctionExpression 该实例表示在实例上调用的 niladic 函数。

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)

参数

instance
SqlExpression

定义函数的表达式。

functionName
String

函数的名称。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

instancePropagatesNullability
Boolean

一个值,该值指示实例是否将 null 传播到结果。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

创建 表示内置函数的 SqlFunctionExpression 类的新实例。

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)

参数

functionName
String

函数的名称。

arguments
IEnumerable<SqlExpression>

函数的参数。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

argumentsPropagateNullability
IEnumerable<Boolean>

指示单个参数是否将 null 传播到结果的布尔值列表。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

创建 表示函数的 SqlFunctionExpression 类的新实例。

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)

参数

schema
String

在其中定义函数的架构。

functionName
String

函数的名称。

arguments
IEnumerable<SqlExpression>

函数的参数。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

argumentsPropagateNullability
IEnumerable<Boolean>

指示单个参数是否将 null 传播到结果的布尔值列表。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

创建 类的新实例, SqlFunctionExpression 该实例表示在实例上调用的函数。

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)

参数

instance
SqlExpression

对其应用函数的表达式。

functionName
String

函数的名称。

arguments
IEnumerable<SqlExpression>

函数的参数。

nullable
Boolean

一个布尔值,指示此函数是否可以返回 null。

instancePropagatesNullability
Boolean

一个值,该值指示实例是否将 null 传播到结果。

argumentsPropagateNullability
IEnumerable<Boolean>

指示单个参数是否将 null 传播到结果的布尔值列表。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping与表达式关联的 。

适用于

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

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)

参数

instance
Expression
schema
String
name
String
niladic
Boolean
builtIn
Boolean
type
Type
typeMapping
RelationalTypeMapping

适用于