EntityFunctions.AddSeconds メソッド

定義

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

オーバーロード

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

注釈

この関数を直接呼び出すことはできません。 この関数は、LINQ to Entities クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

public:
 static Nullable<TimeSpan> AddSeconds(Nullable<TimeSpan> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")]
public static TimeSpan? AddSeconds (TimeSpan? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")>]
static member AddSeconds : Nullable<TimeSpan> * Nullable<int> -> Nullable<TimeSpan>
Public Shared Function AddSeconds (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 クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。

適用対象

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

public:
 static Nullable<DateTime> AddSeconds(Nullable<DateTime> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")]
public static DateTime? AddSeconds (DateTime? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")>]
static member AddSeconds : Nullable<DateTime> * Nullable<int> -> Nullable<DateTime>
Public Shared Function AddSeconds (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 クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。

適用対象

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

正規の AddSeconds 関数を呼び出します。 正規の AddSeconds 関数については、「日付と時刻の正規関数」を参照してください。

public:
 static Nullable<DateTimeOffset> AddSeconds(Nullable<DateTimeOffset> timeValue, Nullable<int> addValue);
[System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")]
public static DateTimeOffset? AddSeconds (DateTimeOffset? timeValue, int? addValue);
[<System.Data.Objects.DataClasses.EdmFunction("Edm", "AddSeconds")>]
static member AddSeconds : Nullable<DateTimeOffset> * Nullable<int> -> Nullable<DateTimeOffset>
Public Shared Function AddSeconds (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 クエリ内でのみ使用できます。

この関数は、データベース内の対応する関数に変換されます。

適用対象