Class NSFieldInfoDateTime

Date + time custom database field.

Constructors

NSFieldInfoDateTime()

Initializes a new instance of the NSFieldInfoDateTime class.

Declaration

NSFieldInfoDateTime

Methods

GetDefaultValue()

Declaration

DateTime GetDefaultValue()

Examples

NSFieldInfoDateTime thing;
DateTime defaultValue = thing.GetDefaultValue();

Returns

Type Description
DateTime Default Date + time value.

GetIsDefaultNow()

Declaration

Bool GetIsDefaultNow()

Examples

NSFieldInfoDateTime thing;
Bool isDefaultNow = thing.GetIsDefaultNow();

Returns

Type Description
Bool Should the current date + time be the default?

SetDefaultValue(DateTime)

Declaration

Void SetDefaultValue(DateTime defaultValue)

Examples

NSFieldInfoDateTime thing;
DateTime defaultValue;
thing.SetDefaultValue(defaultValue);

Parameters

Type Name Description
DateTime defaultValue Default Date + time value.

Returns

Type Description
Void

SetIsDefaultNow(Bool)

Declaration

Void SetIsDefaultNow(Bool isDefaultNow)

Examples

NSFieldInfoDateTime thing;
Bool isDefaultNow;
thing.SetIsDefaultNow(isDefaultNow);

Parameters

Type Name Description
Bool isDefaultNow Should the current date + time be the default?

Returns

Type Description
Void