SqlExpressionFactory.Function Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Function(String, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Cuidado
Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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 virtual 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
override this.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
override this.Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (schema As String, name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- schema
- String
O esquema no qual a função é definida.
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Function(String, String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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.SqlFunctionExpression
override this.Function : string * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable 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
Parâmetros
- schema
- String
O esquema no qual a função é definida.
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- nullable
- Boolean
Um valor bool que indica se essa função pode retornar nulo.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Uma lista de valores boolianos que indicam se argumentos individuais propagam nulo para resultado.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
Aplica-se a
Function(String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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.SqlFunctionExpression
override this.Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * bool * seq<bool> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable 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
Parâmetros
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- nullable
- Boolean
Um valor bool que indica se essa função pode retornar nulo.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Uma lista de valores boolianos que indicam se argumentos individuais propagam nulo para resultado.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
Aplica-se a
Function(SqlExpression, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Cuidado
Use overload that explicitly specifies values for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 values for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.")]
public virtual 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 values for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.")]
public virtual 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
override this.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 values 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
override this.Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (instance As SqlExpression, name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- instance
- SqlExpression
Uma expressão na qual a função é aplicada.
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Function(SqlExpression, String, IEnumerable<SqlExpression>, Boolean, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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.SqlFunctionExpression
override this.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 Overridable 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
Parâmetros
- instance
- SqlExpression
Uma expressão na qual a função é aplicada.
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- nullable
- Boolean
Um valor bool que indica se essa função pode retornar nulo.
- instancePropagatesNullability
- Boolean
Um valor que indica se a instância propaga nulo para resultado.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Uma lista de valores boolianos que indicam se argumentos individuais propagam nulo para resultado.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
Aplica-se a
Function(String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Cuidado
Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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 virtual 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
override this.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
override this.Function : string * seq<Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression> * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (name As String, arguments As IEnumerable(Of SqlExpression), returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- name
- String
O nome da função.
- arguments
- IEnumerable<SqlExpression>
Os argumentos da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Function(SqlExpression, String, Type, RelationalTypeMapping)
Cuidado
Use NiladicFunction method.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual 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 virtual 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 virtual 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
override this.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
override this.Function : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (instance As SqlExpression, name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- instance
- SqlExpression
Uma expressão na qual a função é aplicada.
- name
- String
O nome da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Function(String, Type, RelationalTypeMapping)
Cuidado
Use NiladicFunction method.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function (string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function (string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public virtual 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
override this.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
override this.Function : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- name
- String
O nome da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Function(String, String, Type, RelationalTypeMapping)
Cuidado
Use NiladicFunction method.
Cria um novo SqlFunctionExpression que representa uma chamada de função em uma árvore SQL.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function (string schema, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression Function (string schema, string name, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
[System.Obsolete("Use NiladicFunction method.")]
public virtual 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
override this.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
override this.Function : string * string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Overridable Function Function (schema As String, name As String, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parâmetros
- schema
- String
O esquema no qual a função é definida.
- name
- String
O nome da função.
- typeMapping
- RelationalTypeMapping
O RelationalTypeMapping associado à expressão.
Retornos
Uma expressão que representa uma chamada de função em uma árvore SQL.
Implementações
- Atributos
Aplica-se a
Entity Framework