DbExpression.FromDateTime(Nullable<DateTime>) Method

Definition

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

public:
 static System::Data::Common::CommandTrees::DbExpression ^ FromDateTime(Nullable<DateTime> value);
public static System.Data.Common.CommandTrees.DbExpression FromDateTime (DateTime? value);
static member FromDateTime : Nullable<DateTime> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Function FromDateTime (value As Nullable(Of DateTime)) As DbExpression

Parameters

value
Nullable<DateTime>

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

Returns

A DbExpression that represents the specified DateTime value.

Applies to