語言

ISqlExpressionFactory.Function 方法

定義

多載

名稱 Description
Function(String, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

Function(SqlExpression, String, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

Function(String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

Function(String, String, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

Function(SqlExpression, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

Function(String, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
已淘汰.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

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

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

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

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

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

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

Function(String, Type, RelationalTypeMapping)

警告

Use NiladicFunction method.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use NiladicFunction method.")>]
abstract member Function : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

name
String

函數的名稱。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

Function(SqlExpression, String, Type, RelationalTypeMapping)

警告

Use NiladicFunction method.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use NiladicFunction method.")>]
abstract member Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (instance As SqlExpression, name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

instance
SqlExpression

一個應用該函數的表達式。

name
String

函數的名稱。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

Function(String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)

警告

Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")>]
abstract member Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

Function(String, String, Type, RelationalTypeMapping)

警告

Use NiladicFunction method.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use NiladicFunction method.")>]
abstract member Function : string * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (schema As String, name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

schema
String

定義函數的結構模式。

name
String

函數的名稱。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

Function(SqlExpression, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)

警告

Use overload that explicitly specifies value for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use overload that explicitly specifies value for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.")>]
abstract member Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (instance As SqlExpression, name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

instance
SqlExpression

一個應用該函數的表達式。

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

Function(String, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)

警告

Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.

建立一個 SqlFunctionExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")]
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string? schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
[<System.Obsolete("Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.")>]
abstract member Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (schema As String, name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

schema
String

定義函數的結構模式。

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

屬性

適用於

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

來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
abstract member Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Public Function Function (name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

nullable
Boolean

一個布爾值,表示此函數是否能回傳 null。

argumentsPropagateNullability
IEnumerable<Boolean>

一份布爾值清單,指示個別參數是否會將 null 傳播到結果。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

適用於

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

來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Function(string? schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(string? schema, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
abstract member Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function Function (schema As String, name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Public Function Function (schema As String, name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

schema
String

定義函數的結構模式。

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

nullable
Boolean

一個布爾值,表示此函數是否能回傳 null。

argumentsPropagateNullability
IEnumerable<Boolean>

一份布爾值清單,指示個別參數是否會將 null 傳播到結果。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

適用於

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

來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs
來源:
ISqlExpressionFactory.cs

建立一個 SqlExpression 新的,代表 SQL 樹中的函式呼叫。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, bool instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, bool instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function(Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> arguments, bool nullable, bool instancePropagatesNullability, System.Collections.Generic.IEnumerable<bool> argumentsPropagateNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Function : 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.SqlExpression
abstract member Function : 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 Function Function (instance As SqlExpression, name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, instancePropagatesNullability As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Public Function Function (instance As SqlExpression, name As String, arguments As IEnumerable(Of SqlExpression), nullable As Boolean, instancePropagatesNullability As Boolean, argumentsPropagateNullability As IEnumerable(Of Boolean), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression

參數

instance
SqlExpression

一個應用該函數的表達式。

name
String

函數的名稱。

arguments
IEnumerable<SqlExpression>

函數的參數。

nullable
Boolean

一個布爾值,表示此函數是否能回傳 null。

instancePropagatesNullability
Boolean

一個值,表示實例是否將 null 傳遞到結果。

argumentsPropagateNullability
IEnumerable<Boolean>

一份布爾值清單,指示個別參數是否會將 null 傳播到結果。

returnType
Type

那個 Type 表達。

typeMapping
RelationalTypeMapping

與 RelationalTypeMapping 這個詞有關。

傳回

一個表示 SQL 樹中函式呼叫的表達式。

適用於