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 SqlExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(String, String, Boolean, Type, RelationalTypeMapping) |
Creates a new SqlExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(SqlExpression, String, Boolean, Boolean, Type, RelationalTypeMapping) |
Creates a new SqlExpression which represents a niladic function call in a SQL tree. |
NiladicFunction(String, Boolean, Type, RelationalTypeMapping)
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
Creates a new SqlExpression 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);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression 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
abstract member NiladicFunction : string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function NiladicFunction (name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Public Function NiladicFunction (name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
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)
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
Creates a new SqlExpression 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);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression 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
abstract member NiladicFunction : string * string * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function NiladicFunction (schema As String, name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlFunctionExpression
Public Function NiladicFunction (schema As String, name As String, nullable As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
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)
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
- Source:
- ISqlExpressionFactory.cs
Creates a new SqlExpression 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);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression 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
abstract member NiladicFunction : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * string * bool * bool * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
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
Public Function NiladicFunction (instance As SqlExpression, name As String, nullable As Boolean, instancePropagatesNullability As Boolean, returnType As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
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