Export (0) Print
Expand All

EntityFunctions.DiffSeconds Method

Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.

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

  Name Description
Public method Static member DiffSeconds(Nullable<DateTime>, Nullable<DateTime>) Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.
Public method Static member DiffSeconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.
Public method Static member DiffSeconds(Nullable<TimeSpan>, Nullable<TimeSpan>) Invokes the canonical DiffSeconds function. For information about the canonical DiffSeconds function, see Date and Time Canonical Functions.
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.

Show:
© 2014 Microsoft