ISqlExpressionFactory.NiladicFunction Method

Definition

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.

returnType
Type

The Type of the expression.

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.

returnType
Type

The Type of the expression.

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.

returnType
Type

The Type of the expression.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Returns

An expression representing a function call in a SQL tree.

Applies to