src/Shared/EntityFramework/Core/Objects/EntityFunctions.cs
/// <summary>
/// When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to
/// create a new <see cref="TimeSpan" /> object.
/// </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="hour"> The hours. </param>
/// <param name="minute"> The minutes. </param>
/// <param name="second"> The seconds, including fractional parts of the seconds if desired. </param>
/// <returns> The new time span. </returns>
When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to
create a new  object.
When used as part of a LINQ to Entities query this method invokes the canonical CreateTime EDM function to create a new object .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "minute")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "hour")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "second")]
        [DbFunction("Edm", "CreateTime")]
        public static TimeSpan? CreateTime(int? hour, Int32? minute, double? second)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static TimeSpan ? CreateTime ( int ? hour , Int32 ? minute , double ? second ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
When used as part of a LINQ to Entities query, this method invokes the canonical CreateTime EDM function to
create a new  object.
When used as part of a LINQ to Entities query this method invokes the canonical CreateTime EDM function to create a new object .
The new time span.
The new time span .
hour
int?
None
minute
Int32?
None
second
double?
The seconds, including fractional parts of the seconds if desired.
The seconds including fractional parts of the seconds if desired .
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 .