src/Shared/EntityFramework/Core/Objects/EntityFunctions.cs
/// <summary>
/// When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to
/// add the given number of milliseconds to a date/time.
/// </summary>
/// <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.
/// </remarks>
/// <param name="timeValue"> The input date/time. </param>
/// <param name="addValue"> The number of milliseconds to add. </param>
/// <returns> A resulting date/time. </returns>
When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to
add the given number of milliseconds to a date/time.
When used as part of a LINQ to Entities query this method invokes the canonical AddMilliseconds EDM function to add the given number of milliseconds to a date / time .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "timeValue")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "addValue")]
        [DbFunction("Edm", "AddMilliseconds")]
        public static DateTimeOffset? AddMilliseconds(DateTimeOffset? timeValue, int? addValue)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static DateTimeOffset ? AddMilliseconds ( DateTimeOffset ? timeValue , int ? addValue ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
When used as part of a LINQ to Entities query, this method invokes the canonical AddMilliseconds EDM function to
add the given number of milliseconds to a date/time.
When used as part of a LINQ to Entities query this method invokes the canonical AddMilliseconds EDM function to add the given number of milliseconds to a date / time .
A resulting date/time.
A resulting date / time .
timeValue
DateTimeOffset?
The input date/time.
The input date / time .
addValue
int?
The number of milliseconds to add.
The number of milliseconds to add .
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.
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 .