EdmFunctions.Minute(DbExpression) 方法

定义

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Minute(System::Data::Common::CommandTrees::DbExpression ^ timeValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Minute(this System.Data.Common.CommandTrees.DbExpression timeValue);
static member Minute : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Minute (timeValue As DbExpression) As DbFunctionExpression

参数

timeValue
DbExpression

一个表达式,指定从中检索分钟的值。

返回

一个新的 DbFunctionExpression,从中返回整数分钟值 timeValue

例外

timeValuenull

timeValue 无效。

适用于