- First you must select your database.
- Change the @proc variable to your Stored Procedure Name like "spGetCustomerData".
- Execute
Of course you can take this script and create a procedure that takes a parameter if you like. Does this do all the work for you? No. You still need to populate the class with whatever data access object you are using, but for me it is a good starting point.