Automatically create C# wrapper classes around stored procedures

后端 未结 6 2163
面向向阳花
面向向阳花 2021-02-06 09:51

I\'ve inherited a rather large application that really could use some cleanup. There is data access code littered throughout the application. In code behinds, some in business l

6条回答
  •  终归单人心
    2021-02-06 10:32

    My approach would be to think higher level first- create your data access classes and methods the best way you can to fit your needs for your existing or new code base. Then, use the existing procedure calls for your new objects.

    I do not think you should consider any form of mass automation for this task.

提交回复
热议问题