Change update value of property (LINQTOSQL)
- by Dynde
Hi...
I've got an entity object - Customer, with a property called VATRate.
This VATRate is in the form of a decimal (0.25). I wanted to be able to enter a percentage value, and save it in the correct decimal value in the database, so I made this custom property:
partial class Customer{
public decimal VatPercent {
get{ ... //Get…