Fields documentation for UnitListItem
Name | Type | Summery | Remarks |
---|---|---|---|
AllowDecimals | Boolean | Determine that the whether the decimal places are allowed or not.. | |
EditState | EditStateEnum | EditState 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. | |
EntityType | Int32 | This 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. | |
ExternalId | Int32 | Temporary 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. | |
Id | Int32 | OpenAccess identity property. | |
Name | String | Name of the unit. | |
PerPerson | Boolean | True 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". | |
TimeUnit | TimeUnitEnum | Defines what the time unit is. | |
Type | UnitTypeEnum | Type of the unit. | |
Version | Int32 | OpenAccess concurrency version property. |