List of UnitOfWork2

Posts   
 
    
kvelidi
User
Posts: 3
Joined: 19-Nov-2007
# Posted on: 05-Dec-2007 16:31:48   

I am working on LLBlGen ( UnitOfWork2).I am having the following problem,

I need to create a list like List<UnitOfWorl2> and then add all the changes like save, delete to the List and finally need to commit on the List. Can you send me a sample code if possible.

Thanks,

Krishna Velidi.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 05-Dec-2007 16:46:05   

Why do you want to use List<UnitOfWorl2>?

The UnitOfWork2 object already contain collections to save entities to be inserted, upadated or deleted.

kvelidi
User
Posts: 3
Joined: 19-Nov-2007
# Posted on: 06-Dec-2007 01:05:48   

Thank you..it worked...