DbExpression.FromDateTime(Nullable<DateTime>) Metódus

Definíció

Létrehoz egy DbExpression értéket, amely a megadott (null értékű) DateTime értéket jelöli.

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

Paraméterek

value
Nullable<DateTime>

Az a DateTime érték, amelyen a visszaadott kifejezésnek alapulnia kell.

Válaszok

A DbExpression megadott DateTime értéket képviselő érték.

A következőre érvényes: