EdmFunctions.Millisecond(DbExpression) 方法

定义

创建一个 DbFunctionExpression,它调用具有指定参数的规范“Millisecond”函数,其必须具有 DateTime、DateTimeOffset 或 Time 结果类型。 该表达式的结果类型为 Edm.Int32。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Millisecond (this System.Data.Entity.Core.Common.CommandTrees.DbExpression timeValue);
static member Millisecond : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Millisecond (timeValue As DbExpression) As DbFunctionExpression

参数

timeValue
DbExpression

一个表达式,该表达式指定应从中检索毫秒的值。

返回

一个新的 DbFunctionExpression,它从 timeValue 中返回整数毫秒值。

适用于