Row insertion order entity framework

Posted by Wouter on Stack Overflow See other posts from Stack Overflow or by Wouter
Published on 2009-05-28T15:20:54Z Indexed on 2010/05/05 10:58 UTC
Read the original article Hit count: 320

I'm using a transaction to insert multiple rows in multiple tables. For these rows I would like to add these rows in order. Upon calling SaveChanges all the rows are inserted out of order.

When not using a transaction and saving changes after each insertion does keep order, but I really need a transaction for all entries.

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about insert