Hey Guys
I'd like to update an entity via linq, but since I edit the entity in a view after serializing it, I don't have direct access to the entity inside the data context. I could do it like this:
entity.property1 = obj.property1;
entity.property2 = obj.property2;
...
thats not cool... not cool at all.
Next thing I tried is to do it via .attach() like so:
context.Table.attach(entity, obj);
doesn't work either. So is there another option short of reflection?