ASP.NET:SQL DAL Helper

Source: Internet
Author: User
asp.net the SQL Server DAL Helper is a utility application this generates Data Access Layer (DAL) functions from stored P Rocedures in a SQL Server database. The only characteristic of the stored procedure this application does not automagically detect are whether or not infor Mation is returned. So, if the stored procedure does is not return a result set then you must manually select the ' Insert/update/delete ' radiobut Ton and hit the ' Update Code ' button. All code this is generated are Beta 2 compliant and can use Steve Smith's pmaker function to make the parameter code MO Re efficient. The source code for this application can is found here. Follow steps to setup the DAL Helper in your system:1) place the contents of [URL Http://www.aspalliance.com/aldotn Et/examples/dalhelper.txt]dalhelper.txt [/url]in A. aspx file 2) Modify the globaldbconnection variable (connection Strin g) to point in the database you wish to the "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- nd me a copy so I can use your neat features =)! Please send no bugs to me. 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.