SqlFunctions.CurrentTimestamp 方法

定义

返回当前日期和时间。

[System.Data.Entity.DbFunction("SqlServer", "CURRENT_TIMESTAMP")]
public static Nullable<DateTime> CurrentTimestamp ();
static member CurrentTimestamp : unit -> Nullable<DateTime>
Public Shared Function CurrentTimestamp () As Nullable(Of DateTime)

返回

当前日期和时间。

属性

适用于