SqlFunctionExpression Constructors

Definition

Overloads

SqlFunctionExpression(String, Type)

Source:
SqlFunctionExpression.cs
Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (string functionName, Type returnType);

Parameters

functionName
String

Name of the function.

returnType
Type

The return type.

Applies to

Entity Framework Core 2.2 i druge verzije
Proizvod Verzije
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2

SqlFunctionExpression(String, Type, Boolean)

Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (string functionName, Type returnType, bool niladic);

Parameters

functionName
String

Name of the function.

returnType
Type

The return type.

niladic
Boolean

A value indicating whether the function is niladic.

Applies to

Entity Framework Core 2.2
Proizvod Verzije
Entity Framework Core 2.2

SqlFunctionExpression(String, Type, IEnumerable<Expression>)

Source:
SqlFunctionExpression.cs
Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);

Parameters

functionName
String

Name of the function.

returnType
Type

The return type.

arguments
IEnumerable<Expression>

The arguments.

Applies to

Entity Framework Core 2.2 i druge verzije
Proizvod Verzije
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2

SqlFunctionExpression(Expression, String, Type, Boolean)

Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, bool niladic);

Parameters

instance
Expression

The instance on which the function is called.

functionName
String

Name of the function.

returnType
Type

The return type.

niladic
Boolean

A value indicating whether the function is niladic.

Applies to

Entity Framework Core 2.2
Proizvod Verzije
Entity Framework Core 2.2

SqlFunctionExpression(Expression, String, Type, IEnumerable<Expression>)

Source:
SqlFunctionExpression.cs
Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);

Parameters

instance
Expression

The instance on which the function is called.

functionName
String

Name of the function.

returnType
Type

The return type.

arguments
IEnumerable<Expression>

The arguments.

Applies to

Entity Framework Core 2.2 i Entity Framework Core 2.1
Proizvod Verzije
Entity Framework Core 2.1, 2.2

SqlFunctionExpression(String, Type, String, IEnumerable<Expression>)

Source:
SqlFunctionExpression.cs
Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (string functionName, Type returnType, string schema, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);

Parameters

functionName
String

Name of the function.

returnType
Type

The return type.

schema
String

The schema this function exists in if any.

arguments
IEnumerable<Expression>

The arguments.

Applies to

Entity Framework Core 2.2 i druge verzije
Proizvod Verzije
Entity Framework Core 2.0, 2.1, 2.2

SqlFunctionExpression(String, Type, String, IEnumerable<Expression>, RelationalTypeMapping, IEnumerable<RelationalTypeMapping>)

Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (string functionName, Type returnType, string schema, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping resultTypeMapping = default, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> argumentTypeMappings = default);

Parameters

functionName
String

Name of the function.

returnType
Type

The return type.

schema
String

The schema this function exists in if any.

arguments
IEnumerable<Expression>

The arguments.

resultTypeMapping
RelationalTypeMapping

The result type mapping.

argumentTypeMappings
IEnumerable<RelationalTypeMapping>

The type mappings for each argument.

Applies to

Entity Framework Core 2.2
Proizvod Verzije
Entity Framework Core 2.2

SqlFunctionExpression(Expression, String, Type, IEnumerable<Expression>, RelationalTypeMapping, RelationalTypeMapping, IEnumerable<RelationalTypeMapping>)

Source:
SqlFunctionExpression.cs

Initializes a new instance of the SqlFunctionExpression class.

C#
public SqlFunctionExpression (System.Linq.Expressions.Expression instance, string functionName, Type returnType, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping resultTypeMapping = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping instanceTypeMapping = default, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> argumentTypeMappings = default);

Parameters

instance
Expression

The instance on which the function is called.

functionName
String

Name of the function.

returnType
Type

The return type.

arguments
IEnumerable<Expression>

The arguments.

resultTypeMapping
RelationalTypeMapping

The result type mapping.

instanceTypeMapping
RelationalTypeMapping

The instance type mapping.

argumentTypeMappings
IEnumerable<RelationalTypeMapping>

The type mappings for each argument.

Applies to

Entity Framework Core 2.2
Proizvod Verzije
Entity Framework Core 2.2