ISqlExpressionFactory.NiladicFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NiladicFunction(String, Boolean, Type, RelationalTypeMapping) |
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(String, String, Boolean, Type, RelationalTypeMapping) |
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(SqlExpression, String, Boolean, Boolean, Type, RelationalTypeMapping) |
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(String, Boolean, Type, RelationalTypeMapping)
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (string name, bool nullable, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (string name, bool nullable, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member NiladicFunction : string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function NiladicFunction (name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parameters
- name
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Returns
An expression representing a function call in a SQL tree.
Applies to
NiladicFunction(String, String, Boolean, Type, RelationalTypeMapping)
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (string schema, string name, bool nullable, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (string schema, string name, bool nullable, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member NiladicFunction : string * string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function NiladicFunction (schema As String, name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parameters
- schema
- String
The schema in which the function is defined.
- name
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Returns
An expression representing a function call in a SQL tree.
Applies to
NiladicFunction(SqlExpression, String, Boolean, Boolean, Type, RelationalTypeMapping)
Creates a new SqlFunctionExpression which represents a niladic function call in a SQL tree.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, bool nullable, bool instancePropagatesNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression NiladicFunction (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression instance, string name, bool nullable, bool instancePropagatesNullability, Type returnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member NiladicFunction : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * bool * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFunctionExpression
Public Function NiladicFunction (instance As SqlExpression, name As String, nullable As Boolean, instancePropagatesNullability As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Parameters
- instance
- SqlExpression
An expression on which the function is applied.
- name
- String
The name of the function.
- nullable
- Boolean
A bool value indicating whether this function can return null.
- instancePropagatesNullability
- Boolean
A value indicating if instance propagates null to result.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Returns
An expression representing a function call in a SQL tree.
Applies to
Entity Framework