EntityFunctions.DiffMicroseconds EntityFunctions.DiffMicroseconds EntityFunctions.DiffMicroseconds EntityFunctions.DiffMicroseconds Method

Definition

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

Overloads

DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

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

DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>)

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

DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

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

Remarks

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.

DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>) DiffMicroseconds(Nullable<TimeSpan>, Nullable<TimeSpan>)

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

public:
 static Nullable<int> DiffMicroseconds(Nullable<TimeSpan> timeValue1, Nullable<TimeSpan> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMicroseconds")]
public static Nullable<int> DiffMicroseconds (Nullable<TimeSpan> timeValue1, Nullable<TimeSpan> timeValue2);
static member DiffMicroseconds : Nullable<TimeSpan> * Nullable<TimeSpan> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of TimeSpan), timeValue2 As Nullable(Of TimeSpan)) As Nullable(Of Integer)

Parameters

timeValue1
Nullable<TimeSpan>

A valid time span.

timeValue2
Nullable<TimeSpan>

A valid time span.

Returns

The number of microseconds between timeValue1 and timeValue2.

Remarks

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.

DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>) DiffMicroseconds(Nullable<DateTime>, Nullable<DateTime>)

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

public:
 static Nullable<int> DiffMicroseconds(Nullable<DateTime> timeValue1, Nullable<DateTime> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMicroseconds")]
public static Nullable<int> DiffMicroseconds (Nullable<DateTime> timeValue1, Nullable<DateTime> timeValue2);
static member DiffMicroseconds : Nullable<DateTime> * Nullable<DateTime> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of DateTime), timeValue2 As Nullable(Of DateTime)) As Nullable(Of Integer)

Parameters

timeValue1
Nullable<DateTime>

A valid date.

timeValue2
Nullable<DateTime>

A valid date.

Returns

The number of microseconds between timeValue1 and timeValue2.

Remarks

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.

DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) DiffMicroseconds(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

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

public:
 static Nullable<int> DiffMicroseconds(Nullable<DateTimeOffset> timeValue1, Nullable<DateTimeOffset> timeValue2);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "DiffMicroseconds")]
public static Nullable<int> DiffMicroseconds (Nullable<DateTimeOffset> timeValue1, Nullable<DateTimeOffset> timeValue2);
static member DiffMicroseconds : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Nullable<int>
Public Shared Function DiffMicroseconds (timeValue1 As Nullable(Of DateTimeOffset), timeValue2 As Nullable(Of DateTimeOffset)) As Nullable(Of Integer)

Parameters

timeValue1
Nullable<DateTimeOffset>

A valid date time offset.

timeValue2
Nullable<DateTimeOffset>

A valid date time offset.

Returns

The number of microseconds between timeValue1 and timeValue2.

Remarks

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.

Applies to