Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EntityFunctions.AddHours Method

Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions (Entity SQL).

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member AddHours(Nullable<DateTime>, Nullable<Int32>) Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions (Entity SQL).
Public method Static member AddHours(Nullable<DateTimeOffset>, Nullable<Int32>) Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions (Entity SQL).
Public method Static member AddHours(Nullable<TimeSpan>, Nullable<Int32>) Invokes the canonical AddHours function. For information about the canonical AddHours function, see Date and Time Canonical Functions (Entity SQL).
Top

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.