index linq error
if i have following linq code:
context.table1s.insertonsubmit(t);
context.table1s.insertonsubmit(t2);
context.table1s.insertonsubmit(t3);
context.submitchanges();
and i database blunder due 2nd insert, linq throws an difference there an error. but, there proceed out 2nd insert problem 1st 3rd?
to clarify, there business reasons i design 2nd destroy (i am controlling stored way insert am also doing validation lifting an blunder fails). i wish means tell user unsuccessful why. i know validation improved finished c# formula database, nonetheless now an option.
Comments
Post a Comment