Hi guys,
LlblGen allows partial updates for entities, i.e. without fetching entity from the DB. So I can create an entity, set PK and a field(or several) that I want to change, clear IsNew flag and then just send it for saving, and it will be updated correctly.
The problem that I have right now is that there is BL that needs entity fields, that were not fetched. And the question is is there a way to fetch entity and leave all the changes in it? Can LlblGen load it somehow for me?
The entity(or the graph) is coming from the presentation layer, I can not really change it, and also I do want to support the partial updates for entities, so it would be great if I can load it.
Is the a way to do this? May be using ExcludeIncludeFieldsList, to exclude changed fields, but I'd like to have Old value(DbValue) for the field too :-)
Any thoughts?
Thanks,
Anton