EdmFunctions.GetTotalOffsetMinutes(DbExpression) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbFunctionExpression that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GetTotalOffsetMinutes(System::Data::Common::CommandTrees::DbExpression ^ dateTimeOffsetArgument);
public static System.Data.Common.CommandTrees.DbFunctionExpression GetTotalOffsetMinutes(this System.Data.Common.CommandTrees.DbExpression dateTimeOffsetArgument);
static member GetTotalOffsetMinutes : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function GetTotalOffsetMinutes (dateTimeOffsetArgument As DbExpression) As DbFunctionExpression
- dateTimeOffsetArgument
- DbExpression
An expression that specifies the DateTimeOffset value from which the minute offset from GMT should be retrieved.
A new DbFunctionExpression that returns the number of minutes dateTimeOffsetArgument
is offset from GMT.
dateTimeOffsetArgument
is null
.
dateTimeOffsetArgument
is invalid.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: