Steffen Mangold <steffen.mang...@balticsd.de> wrote: > No i think i can exclude this as the problem. > Because my code goes like this: > > try > { > context.SaveChanges(); // save changes with transaction !exception raised here
Inside this call, a loop runs, with one INSERT statement executed for each prior AddObject call. > } > catch (Exception) > { > //throw; > } > finally > { > transaction.Complete(); // end transaction > context.AcceptAllChanges(); And here's where you commit the transaction, regardless of whether or not it completed successfully. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users