FromDateTime Method

DbExpression.FromDateTime Method (Nullable<DateTime>)

.NET Framework (current version)
 

Creates a DbExpression that represents the specified (nullable) DateTime value.

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static DbExpression FromDateTime(
	Nullable<DateTime> value
)

Parameters

value
Type: System.Nullable<DateTime>

The DateTime value on which the returned expression should be based.

Return Value

Type: System.Data.Common.CommandTrees.DbExpression

A DbExpression that represents the specified DateTime value.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft