Fields documentation for UnitListItem

NameTypeSummeryRemarks
AllowDecimalsBooleanDetermine that the whether the decimal places are allowed or not..
EditStateEditStateEnumEditState is used to keep track of the edit state of items in list/collection properties. The field is initialized to None. For inbounded DTOs derived from this value is overwritten by the correct value from the service consumer doing deserialization.
EntityTypeInt32This property is used to distinguish datacontract classes that serves as a mapper for more than 1 underlying model class. An example of such a class could be: EmployeeOrGroupListItem. The EmployeeOrGroupListItem datacontract class maps both the Employee and Group model class. An employee and group can share the same IDs and it thus becomes impossible to distinguish the two if they are mapped into the same class. This is solved by overriding this property in the child class. In this case the EmployeeOrGroupListItem class. The EmployeeOrGroupListItem class will have its own "Type" enum property to distinguish what it has mapped. This existing Type property is then mapped into the base class' EntityType property. The client framework will then be able to automatically distinguish the enitities from eachother.
ExternalIdInt32Temporary server assigned unique Id for each datacontract object created in the server without persistece.. this property will use the fix the references of the all cloned objects.
IdInt32OpenAccess identity property.
NameStringName of the unit.
PerPersonBooleanTrue if the time unit is per person else it is false. Hence if PerPerson is true the price is calculated like: "per time unit" * "Number of person".
TimeUnitTimeUnitEnumDefines what the time unit is.
TypeUnitTypeEnumType of the unit.
VersionInt32OpenAccess concurrency version property.