Muokkaa

Jaa


EntityFunctions.AddMicroseconds Method

Definition

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

Overloads

AddMicroseconds(Nullable<DateTime>, Nullable<Int32>)

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

AddMicroseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

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

AddMicroseconds(Nullable<TimeSpan>, Nullable<Int32>)

Invokes the canonical AddMicroseconds function. For information about the canonical AddMicroseconds 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.

AddMicroseconds(Nullable<DateTime>, Nullable<Int32>)

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

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

Parameters

timeValue
Nullable<DateTime>

A valid date.

addValue
Nullable<Int32>

The number of microseconds to add to timeValue.

Returns

The timeValue incremented by addValue.

Attributes

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

AddMicroseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

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

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

Parameters

timeValue
Nullable<DateTimeOffset>

A valid date time offset.

addValue
Nullable<Int32>

The number of microseconds to add to timeValue.

Returns

The timeValue incremented by addValue.

Attributes

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

AddMicroseconds(Nullable<TimeSpan>, Nullable<Int32>)

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

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

Parameters

timeValue
Nullable<TimeSpan>

A valid time span.

addValue
Nullable<Int32>

The number of microseconds to add to timeValue.

Returns

The timeValue incremented by addValue.

Attributes

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