EntityFunctions.AddMilliseconds Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the canonical AddMilliseconds
function. For information about the canonical AddMilliseconds
function, see Date and Time Canonical Functions.
Overloads
AddMilliseconds(Nullable<DateTime>, Nullable<Int32>) |
Invokes the canonical |
AddMilliseconds(Nullable<DateTimeOffset>, Nullable<Int32>) |
Invokes the canonical |
AddMilliseconds(Nullable<TimeSpan>, Nullable<Int32>) |
Invokes the canonical |
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.
AddMilliseconds(Nullable<DateTime>, Nullable<Int32>)
Invokes the canonical AddMilliseconds
function. For information about the canonical AddMilliseconds
function, see Date and Time Canonical Functions.
public:
static Nullable<DateTime> AddMilliseconds(Nullable<DateTime> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")]
public static DateTime? AddMilliseconds (DateTime? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")>]
static member AddMilliseconds : Nullable<DateTime> * Nullable<int> -> Nullable<DateTime>
Public Shared Function AddMilliseconds (timeValue As Nullable(Of DateTime), addValue As Nullable(Of Integer)) As Nullable(Of DateTime)
Parameters
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
AddMilliseconds(Nullable<DateTimeOffset>, Nullable<Int32>)
Invokes the canonical AddMilliseconds
function. For information about the canonical AddMilliseconds
function, see Date and Time Canonical Functions.
public:
static Nullable<DateTimeOffset> AddMilliseconds(Nullable<DateTimeOffset> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")]
public static DateTimeOffset? AddMilliseconds (DateTimeOffset? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")>]
static member AddMilliseconds : Nullable<DateTimeOffset> * Nullable<int> -> Nullable<DateTimeOffset>
Public Shared Function AddMilliseconds (timeValue As Nullable(Of DateTimeOffset), addValue As Nullable(Of Integer)) As Nullable(Of DateTimeOffset)
Parameters
- timeValue
- Nullable<DateTimeOffset>
A valid date time offset.
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
AddMilliseconds(Nullable<TimeSpan>, Nullable<Int32>)
Invokes the canonical AddMilliseconds
function. For information about the canonical AddMilliseconds
function, see Date and Time Canonical Functions.
public:
static Nullable<TimeSpan> AddMilliseconds(Nullable<TimeSpan> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")]
public static TimeSpan? AddMilliseconds (TimeSpan? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMilliseconds")>]
static member AddMilliseconds : Nullable<TimeSpan> * Nullable<int> -> Nullable<TimeSpan>
Public Shared Function AddMilliseconds (timeValue As Nullable(Of TimeSpan), addValue As Nullable(Of Integer)) As Nullable(Of TimeSpan)
Parameters
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.