IModelGetter.GetItemDate(string column, bool isOriginalValue = false) Method
.NET Standard 2.x
Gets the value of the specified column (by column name) and converts this value to the System.Nullable<System.DateTime>
data type. You can specify whether to get the original value. By default, the current value is taken.
The time value is set to 12:00:00 midnight (00:00:00).
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Syntax
DateTime? GetItemDate(string column, bool isOriginalValue = false);
Parameters
column
System.String
The name of the column to get value.
isOriginalValue
System.Boolean
(Optional) Whether to get the original value.
True -- to get the original value;
False (false) -- to get the current value.
Returns
System.Nullable<System.DateTime>
Returns the current value of the column if isOriginalValue
is false
; otherwise, returns the original value of the column.
Applies to
.NET Standard
2.x