The adapter code lets the primary key fields be set but the self servicing does not, throws the read only error:
OrderEntity order = new OrderEntity();
order.IsNew = false;
order.OrderId = 27; --THROWS ERROR WITH SelfServicing
Looking at the source code, the ValidateValue method of EntityBase2 allows PrimaryKey + ReadOnly combinations while EntityBase.ValidateValue just looks at ReadOnly.
Is it possible to get the SelfServicing to behave the same as the Adapter?
Brian Chance