IFreeFields Interface

Represents Free information fields on a business object. This can be used for custom code, API needs, or just for the end user to denote Free information about the object. These fields are only shown to the user or used in the first place if UseExtraFields is set to .

Definition

Namespace: MobileTrack.Common.Interfaces
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public interface IFreeFields

Remarks

These fields are meant to be used as extra fields particular to a specific company; If we want to add new features for all companies and require extra properties on a business object, we should add a new property to the object itself, not here.

The company can decide to utilize these fields for bureaucracy, for interaction with their own systems using the API, or within their own ActionFlowDefinitionDto's.

As for JSON Serialization; as these fields are only set if UseExtraFields is , we only serialize them if, and only if a value is assigned. We do not remove the property if the UseExtraFields object is altered, as that would lead to data loss for something that the user wants to recover.

Properties

FreeBooleanFieldOne Free Boolean field (for custom work or extra information)
FreeBooleanFieldThree Free Boolean field (for custom work or extra information)
FreeBooleanFieldTwo Free Boolean field (for custom work or extra information)
FreeDateTimeFieldOne Free DateTime number field (for custom work or extra information)
FreeDateTimeFieldThree Free DateTime number field (for custom work or extra information)
FreeDateTimeFieldTwo Free DateTime number field (for custom work or extra information)
FreeNumberFieldOne Free Double number field (for custom work or extra information)
FreeNumberFieldThree Free Double number field (for custom work or extra information)
FreeNumberFieldTwo Free Double number field (for custom work or extra information)
FreeTextFieldOne Free String text field (for custom work or extra information)
FreeTextFieldThree Free String text field (for custom work or extra information)
FreeTextFieldTwo Free String text field (for custom work or extra information)

Extension Methods

PolishFreeFields Polishes extra fields of an object.
(Defined by ModelPolishExtensions)

See Also