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