Share via


AtTimeZoneExpression Constructor

Definition

Creates a new instance of the AtTimeZoneExpression class.

public AtTimeZoneExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression timeZone, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.AtTimeZoneExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.AtTimeZoneExpression
Public Sub New (operand As SqlExpression, timeZone As SqlExpression, type As Type, typeMapping As RelationalTypeMapping)

Parameters

operand
SqlExpression

The operand on which to perform the time zone conversion.

timeZone
SqlExpression

The time zone to convert to.

type
Type

The Type of the expression.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to