EntityFunctions.CreateTime 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 CreateTime
function. For information about the canonical CreateTime
function, see Date and Time Canonical Functions.
public:
static Nullable<TimeSpan> CreateTime(Nullable<int> hour, Nullable<int> minute, Nullable<double> second);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "CreateTime")]
public static TimeSpan? CreateTime (int? hour, int? minute, double? second);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "CreateTime")>]
static member CreateTime : Nullable<int> * Nullable<int> * Nullable<double> -> Nullable<TimeSpan>
Public Shared Function CreateTime (hour As Nullable(Of Integer), minute As Nullable(Of Integer), second As Nullable(Of Double)) As Nullable(Of TimeSpan)
Parameters
The seconds part of the new time span. Note that you can specify fractions of a second with this parameter.
Returns
The new time span.
- 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.