AtTimeZoneExpression 构造函数

定义

创建 AtTimeZoneExpression 类的新实例。

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)

参数

operand
SqlExpression

要对其执行时区转换的操作数。

timeZone
SqlExpression

要转换为的时区。

type
Type

该表达式的 Type

typeMapping
RelationalTypeMapping

RelationalTypeMapping 表达式关联的 。

适用于