the sql server dal helper is a utility application that generates data access layer (dal) functions from stored procedures in a sql server database. the only characteristic of the stored procedure that the application does not automagically detect is whether or not information is returned. so, if the stored procedure does not return a result set then you must manually select the insert/update/delete radiobutton and hit the update code button. all code that is generated is beta 2 compliant and you can use steve smiths pmaker function to make the parameter code more efficient. the source code for this application can be found here. follow these steps to setup the dal helper on your system: 1) place the contents of [url http://www.aspalliance.com/aldotnet/examples/dalhelper.txt]dalhelper.txt [/url]in a .aspx file 2) modify the globaldbconnection variable (connection string) to point at the database you wish to use to build the dal functions 3) call up the newly created .aspx page in a browser and pick a stored procedure to generate a dal function feel free to make modifications to this code (send me a copy so i can use your neat features =)! please send any bugs to me.
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 »
相关推荐
- 暂无文章
