EntityFunctions.CreateTime 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
叫用標準 CreateTime
函式。 如需標準 CreateTime
函式的資訊,請參閱日期及時間標準函式。
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)
參數
傳回
新的時間範圍。
- 屬性
備註
您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。
此函式會轉譯為資料庫中的對應函式。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應