EdmFunctions.CurrentDateTimeOffset Method ()

 

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

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

public static DbFunctionExpression CurrentDateTimeOffset()

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression

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