Fields documentation for Currency

NameTypeSummeryRemarks
BuyRateDoubleThe exchange rate when buying currency.
CashRoundingDoubleRound to nearest..for cash sales.
CurrentRateDoubleThe current rate (danish: dagskurs) is the latest official rate of the currency published by the central bank. for consumers with DKK as the default currency these rates are imported automatically by the server from the danish national bank. For consumers with EUR as the default currency these rates are imported by the server from the ECB.
CurrentRateUpdatedNullable<DateTime>The date the CurrentRate was last imported from a central bank. Is null if it was never imported.
DefaultBooleanReperesent the default currency.
DiscontinuedBooleanIf the currency is being discontinued from usage.
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.
ExchangeRatePriceCalcDoubleExchange rate in relation to the consumers default currency. It is used for converting the price in one currency to the price in another currency.
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.
IsoCurrencyIsoCurrencyIso Currency.
RoundingDoubleRound to nearest.. Note: Currently only used in cleaning price calculation.
SellRateDoubleThe exchange rate when selling currency.
VersionInt32OpenAccess concurrency version property.