EdmFunctions.Day(DbExpression) Method
Definition
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 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Day (this System.Data.Entity.Core.Common.CommandTrees.DbExpression dateValue);
static member Day : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Day (dateValue As DbExpression) As DbFunctionExpression
Parameters
- dateValue
- DbExpression
An expression that specifies the value from which the day should be retrieved.
Returns
A new DbFunctionExpression that returns the integer day value from dateValue.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework