I am using the Kendo Grid Batch Editing Tool. I do not want to use the create button. I want to save(create) the records if the do not exist and if they do exist I want to update the records.
This should all be performed under the update function.
Basically I want to combine the following lines of code somehow:
xxx.Entry(entity).State = EntityState.Added;
xxx.Entry(entity).State = EntityState.Modified;
This should all be performed under the update function.
Basically I want to combine the following lines of code somehow:
xxx.Entry(entity).State = EntityState.Added;
xxx.Entry(entity).State = EntityState.Modified;