DbExpression.FromDateTime Method (Nullable<DateTime>)

 

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

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.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.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that represents the specified DateTime value.