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 查询中。

此函数将转换为数据库中的相应函数。

适用于