Update Delete problem in DataAccess Guidance Package

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Aug 30, 2007 at 3:23 AM
Hi P&P team,
Thanks for your sharing the DataAccess Guidance package . It is so great to generate dal though procedure. but per using it , I find some function need to enhance . When I try to generate Update function, I find I can only add a update procedure for one business entity. In fact, we have more than one update procedure for a table in a complex project. but now I have no idea. Appreciate you provider Update/Delete function with multi procedures like Selection. thanks.
Aug 30, 2007 at 9:35 AM

Does it work if you select both of your update stored procedures in the "Create repository classes" wizard, and create the classes for it?

I think in that case, it creates 2 set of UpdateFactory classes.
Aug 31, 2007 at 1:53 AM
HI Dynamic,
Yes, when I select both of update store procedures in the "Create repository classes" wizard. it encounter alert 'the update procedure have exists'. the two update procedures are different. So I think the meaning is I can not add multi- update function.