SqlFunctionExpression 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SqlFunctionExpression(String, Boolean, Type, RelationalTypeMapping)
建立 類別的新實例 SqlFunctionExpression ,表示內建 niladic 函式。
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。
- 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。
- 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 傳播至結果。
- 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 至結果。
- 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 至結果。
- 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 至結果。
- 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
- arguments
- IEnumerable<SqlExpression>
- builtIn
- Boolean
- type
- Type
- typeMapping
- RelationalTypeMapping