EntityFunctions.DiffDays Method

.NET Framework (current version)
 

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

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDiffDays(Nullable<DateTime>, Nullable<DateTime>)

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

System_CAPS_pubmethodSystem_CAPS_staticDiffDays(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

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

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.

Return to top
Show: