Browse Source

removed redondant savechanges

tags/v0.4.0
Robin Thoni 8 years ago
parent
commit
59534ce4e1

+ 6
- 0
.idea/.idea.luticate2/.idea/contentModel.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="RiderRiderContentModelStore">
4
+    <excludedPaths />
5
+  </component>
6
+</project>

+ 0
- 1
Luticate2.Utils/DataAccess/LuEfCrudDataAccess.cs View File

@@ -401,7 +401,6 @@ namespace Luticate2.Utils.DataAccess
401 401
             {
402 402
                 var model = GetEditQueryable(db, table).FirstOrDefault(GetExpression(new KeyValuePair<string, object>("id", guid)));
403 403
                 EditModelFromTUpdate(update, model);
404
-                db.SaveChanges();
405 404
                 var res = _EditSingleById(model, update, db, table);
406 405
                 if (!res)
407 406
                 {

Loading…
Cancel
Save