Hello Telerik team!
I get data from DB from several tables.
bool lazy = true)
> result = scope.Extent<
return lazy ? result.ToList() : RetreiveData(result).ToList();
var patientList = Get<
var configurationList = Get<
so, I have some lists for necessary data. And I work with it. During my work some data can be changed.
Configuration - it is some visual settings for EditPatientForm (e.g. what Edit-fields are visible - user can switch off not important fields)
And when user click on button "Save" - I need Save only PATIENT data, but not changed configuration data. Because for save Configuration we have another button (like "Save configuration")
But both entities are on the scope, so when I call Transaction.Commit() - all data will be saved.
But I don't want save Configurations.
What I should do?
I need independent transaction for each entity?? It seems not correct..
Ask me please, What I should do!