Multiple record updation

Multiple record updation

Old forum URL: forums.lhotka.net/forums/t/11544.aspx


rameshkumark posted on Wednesday, August 22, 2012

I am newbe to the CSLA.

I need the solution for the following logic.

In my current application I am using Typed Dataset (.xsd)  for performing CRUD implementation.

I have to replace the Typed Dataset from my application and to implement the CSLA.

In my existing application, I have update the database(Multiple Insert, Update and delete) using the typed dataset adapter.Update(DataTable). This will automatically update the multiple records (Insert/Update/Delete) to database in one shot. I need sample for the similar implementation in CSLA.

 

 

 

 

 

JonnyBee replied on Thursday, August 23, 2012

Search the samples download for UpdateChild and UpdateChildren.

Basically, you will hve

ProjectTracker sample use this technique to update both Project and it's list of Resources within one transaction.

Copyright (c) Marimer LLC