共用方式為


EntityFunctions.AddMicroseconds 方法

定義

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

多載

AddMicroseconds(Nullable<DateTime>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

AddMicroseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

AddMicroseconds(Nullable<TimeSpan>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。

AddMicroseconds(Nullable<DateTime>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

public:
 static Nullable<DateTime> AddMicroseconds(Nullable<DateTime> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")]
public static DateTime? AddMicroseconds (DateTime? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")>]
static member AddMicroseconds : Nullable<DateTime> * Nullable<int> -> Nullable<DateTime>
Public Shared Function AddMicroseconds (timeValue As Nullable(Of DateTime), addValue As Nullable(Of Integer)) As Nullable(Of DateTime)

參數

timeValue
Nullable<DateTime>

有效的日期。

addValue
Nullable<Int32>

要加入 timeValue 中的微秒數。

傳回

累加 timeValue 後的 addValue

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。

適用於

AddMicroseconds(Nullable<DateTimeOffset>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

public:
 static Nullable<DateTimeOffset> AddMicroseconds(Nullable<DateTimeOffset> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")]
public static DateTimeOffset? AddMicroseconds (DateTimeOffset? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")>]
static member AddMicroseconds : Nullable<DateTimeOffset> * Nullable<int> -> Nullable<DateTimeOffset>
Public Shared Function AddMicroseconds (timeValue As Nullable(Of DateTimeOffset), addValue As Nullable(Of Integer)) As Nullable(Of DateTimeOffset)

參數

timeValue
Nullable<DateTimeOffset>

有效的日期時間位移。

addValue
Nullable<Int32>

要加入 timeValue 中的微秒數。

傳回

累加 timeValue 後的 addValue

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。

適用於

AddMicroseconds(Nullable<TimeSpan>, Nullable<Int32>)

叫用標準 AddMicroseconds 函式。 如需標準 AddMicroseconds 函式的資訊,請參閱日期及時間標準函式

public:
 static Nullable<TimeSpan> AddMicroseconds(Nullable<TimeSpan> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")]
public static TimeSpan? AddMicroseconds (TimeSpan? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddMicroseconds")>]
static member AddMicroseconds : Nullable<TimeSpan> * Nullable<int> -> Nullable<TimeSpan>
Public Shared Function AddMicroseconds (timeValue As Nullable(Of TimeSpan), addValue As Nullable(Of Integer)) As Nullable(Of TimeSpan)

參數

timeValue
Nullable<TimeSpan>

有效的時間範圍。

addValue
Nullable<Int32>

要加入 timeValue 中的微秒數。

傳回

累加 timeValue 後的 addValue

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在 LINQ to Entities 查詢內。

此函式會轉譯為資料庫中的對應函式。

適用於