Call stored procedure code generator

zhaozj2021-02-16  106

Now a lot of projects are developed with a 3-layer structure, and stored procedures uses a stored procedure to improve data read speed and security. However, the calling process has always been more troublesome, although it is very simple, but keeps repeating the same operation, waste a lot of time. For convenience (my consistent style ^ _ ^) specifically written this code automatic generator to complete the code for calling the stored procedure in the 3-layer structure, it is more convenient.

Generate SqlDataReader:

Generate DataSet:

Generate execution method:

PS: This generator is very simple, the function is not comprehensive, what is the problem, everyone can come out.

Download address: http://www.cnblogs.com/JIERRY/Archive/2005/03/23/124299.html

转载请注明原文地址:https://www.9cbs.com/read-10698.html

New Post(0)