src/EntityFramework/DbFunctions.cs
/// <summary>
///     When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to
///     return the number of minutes that the given date/time is offset from UTC. This is generally between +780
///     and -780 (+ or - 13 hrs).
/// </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="dateTimeOffsetArgument"> The date/time value to use. </param>
/// <returns> The offset of the input from UTC. </returns>
When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to
return the number of minutes that the given date/time is offset from UTC. This is generally between +780
and -780 (+ or - 13 hrs).
When used as part of a LINQ to Entities query this method invokes the canonical GetTotalOffsetMinutes EDM function to return the number of minutes that the given date / time is offset from UTC . This is generally between + 780 and - 780 ( + or - 13 hrs ) .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "dateTimeOffsetArgument")]
        [DbFunction("Edm", "GetTotalOffsetMinutes")]
        public static int? GetTotalOffsetMinutes(DateTimeOffset? dateTimeOffsetArgument)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static int ? GetTotalOffsetMinutes ( DateTimeOffset ? dateTimeOffsetArgument ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
When used as part of a LINQ to Entities query, this method invokes the canonical GetTotalOffsetMinutes EDM function to
return the number of minutes that the given date/time is offset from UTC.
When used as part of a LINQ to Entities query this method invokes the canonical GetTotalOffsetMinutes EDM function to return the number of minutes that the given date / time is offset from UTC .
The offset of the input from UTC.
The offset of the input from UTC .
dateTimeOffsetArgument
DateTimeOffset?
The date/time value to use.
The date / time value to use .
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 .