EdmFunctions.CurrentDateTime Method ()

.NET Framework (current version)
 

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

Namespace:   System.Data.Common.CommandTrees.ExpressionBuilder
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static DbFunctionExpression CurrentDateTime()

Return Value

Type: System.Data.Common.CommandTrees.DbFunctionExpression

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

.NET Framework
Available since 4.5
Return to top
Show: