the example from documentation version 2.6
CustomerEntity customer = new CustomerEntity();
customer.CustomerID="CHOPS";
customer.IsNew=false;
customer.Phone = "(605)555-4321";
customer.Save();
my code :
SalutationEntity salu = new SalutationEntity();
salu.SalutationId = 40;
salu.IsNew = false;
salu.Name = "hello";
salu.MappingName = "haha";
//doesn't update Sex filed
//salu.Sex = "0";
salu.Save();
but i got an error :
The property "SalutationId " is read only.
Note: SalutationId is Primary Key filed.
thank you