Class NSFieldInfoTime

Time custom database field. Date value is ignored.

Constructors

NSFieldInfoTime()

Initializes a new instance of the NSFieldInfoTime class.

Declaration

NSFieldInfoTime

Methods

GetDefaultValue()

Declaration

DateTime GetDefaultValue()

Examples

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

Returns

Type Description
DateTime Default Time value.

GetIsDefaultNow()

Declaration

Bool GetIsDefaultNow()

Examples

NSFieldInfoTime 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

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

Parameters

Type Name Description
defaultValue Default Time value.

Returns

Type Description
Void

SetIsDefaultNow(Bool)

Declaration

Void SetIsDefaultNow(Bool isDefaultNow)

Examples

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

Parameters

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

Returns

Type Description
Void