DbExpression.FromDateTime(Nullable<DateTime>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立代表指定(可DateTime空)值的 。DbExpression
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
參數
傳回
DbExpression A 代表指定的 DateTime 值。