EdmFunctions.CreateDateTimeOffset メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した引数を使用して正規の 'CreateDateTimeOffset' 関数を呼び出す DbFunctionExpression を作成します。 second は Edm.Double の結果型を持つ必要があり、他のすべての引数の結果の型は Edm.Int32 である必要があります。 式の結果の型は Edm.DateTimeOffset です。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression CreateDateTimeOffset(System.Data.Entity.Core.Common.CommandTrees.DbExpression year, System.Data.Entity.Core.Common.CommandTrees.DbExpression month, System.Data.Entity.Core.Common.CommandTrees.DbExpression day, System.Data.Entity.Core.Common.CommandTrees.DbExpression hour, System.Data.Entity.Core.Common.CommandTrees.DbExpression minute, System.Data.Entity.Core.Common.CommandTrees.DbExpression second, System.Data.Entity.Core.Common.CommandTrees.DbExpression timeZoneOffset);
static member CreateDateTimeOffset : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function CreateDateTimeOffset (year As DbExpression, month As DbExpression, day As DbExpression, hour As DbExpression, minute As DbExpression, second As DbExpression, timeZoneOffset As DbExpression) As DbFunctionExpression
パラメーター
- year
- DbExpression
新しい DateTimeOffset インスタンスの年の値を提供する式。
- month
- DbExpression
新しい DateTimeOffset インスタンスの月の値を提供する式。
- day
- DbExpression
新しい DateTimeOffset インスタンスの日の値を提供する式。
- hour
- DbExpression
新しい DateTimeOffset インスタンスの時間値を提供する式。
- minute
- DbExpression
新しい DateTimeOffset インスタンスの分の値を提供する式。
- second
- DbExpression
新しい DateTimeOffset インスタンスの 2 番目の値を提供する式。
- timeZoneOffset
- DbExpression
新しい DateTimeOffset インスタンスのタイム ゾーン オフセット値の分数を指定する式。
戻り値
指定した値に基づいて新しい DateTimeOffset を返す新しい DbFunctionExpression。