Hello,
I ran into unexpected behavior.
Scenario 1:
CustomerEntity customer = new CustomerEntity();
customer.Name = "John";
This results in customer.IsDirty == true! Which I believe is correct. In this case save() actually produces a row in the database.
However, with scenario 2:
CustomerEntity customer = new CustomerEntity();
customer.Fields["Name"].CurrentValue = "John";
Results in: customer.IsDirty == false. In this case save() does not produce anything.
Is this strange or not??? I explicitly set the IsDirty property to true in my scenario 2 in order to be able to save, but I thought I mention it as I expect it to be a bug.
Paul