EntityTools - ApplyState not setting EntityState correctly for non-persisted client extension property

Aug 25, 2012 at 3:27 AM

Hi Colin and others,

I'm extending an RIA entity on the client using a partial class with a string property that is marked with DataMember attribute but is not persisted.

When updating my entity using ApplyState method the values are correctly updated and the EntityState is correctly changed to Modified.  However, if I ONLY change the partial class extension property described above, the property change gets applied but the EntityState stays as Unmodified.  Is this a possible bug in EntityTools or by design?

Is there a workaround?

Thanks...Bob Baldwin
aka vsdotnetguy