Edit

Share via


EdmFunctions.CurrentDateTime Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'CurrentDateTime' function.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ CurrentDateTime();
public static System.Data.Common.CommandTrees.DbFunctionExpression CurrentDateTime ();
static member CurrentDateTime : unit -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function CurrentDateTime () As DbFunctionExpression

Returns

A new DbFunctionExpression that returns the current date and time as an Edm.DateTime instance.

Applies to