SqlExpressionFactory.Function Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Function(String, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Precaución
Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Esquema en el que se define la función.
- name
- String
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos
Se aplica a
Function(String, String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Esquema en el que se define la función.
- name
- String
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- nullable
- Boolean
Valor bool que indica si esta función puede devolver null.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Lista de valores bool que indican si los argumentos individuales propagan null al resultado.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
Se aplica a
Function(String, IEnumerable<SqlExpression>, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- nullable
- Boolean
Valor bool que indica si esta función puede devolver null.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Lista de valores bool que indican si los argumentos individuales propagan null al resultado.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
Se aplica a
Function(SqlExpression, String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Precaución
Use overload that explicitly specifies values for 'instancePropagatesNullability' and 'argumentsPropagateNullability' arguments.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Expresión en la que se aplica la función.
- name
- String
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos
Se aplica a
Function(SqlExpression, String, IEnumerable<SqlExpression>, Boolean, Boolean, IEnumerable<Boolean>, Type, RelationalTypeMapping)
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Expresión en la que se aplica la función.
- name
- String
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- nullable
- Boolean
Valor bool que indica si esta función puede devolver null.
- instancePropagatesNullability
- Boolean
Valor que indica si la instancia propaga null al resultado.
- argumentsPropagateNullability
- IEnumerable<Boolean>
Lista de valores bool que indican si los argumentos individuales propagan null al resultado.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
Se aplica a
Function(String, IEnumerable<SqlExpression>, Type, RelationalTypeMapping)
Precaución
Use overload that explicitly specifies value for 'argumentsPropagateNullability' argument.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
El nombre de la función.
- arguments
- IEnumerable<SqlExpression>
Argumentos de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos
Se aplica a
Function(SqlExpression, String, Type, RelationalTypeMapping)
Precaución
Use NiladicFunction method.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Expresión en la que se aplica la función.
- name
- String
El nombre de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos
Se aplica a
Function(String, Type, RelationalTypeMapping)
Precaución
Use NiladicFunction method.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
El nombre de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos
Se aplica a
Function(String, String, Type, RelationalTypeMapping)
Precaución
Use NiladicFunction method.
Crea un nuevo SqlFunctionExpression objeto que representa una llamada de función en un árbol de 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
Esquema en el que se define la función.
- name
- String
El nombre de la función.
- typeMapping
- RelationalTypeMapping
RelationalTypeMapping asociado a la expresión.
Devoluciones
Expresión que representa una llamada de función en un árbol SQL.
Implementaciones
- Atributos