views:

101

answers:

2

This is my link: link text

Thought about it and this was my additional question:

Now If i am going against stored procedures, is there an easy way without using T4, LLCodeGen, Codesmith, subsonic, etc..to obtain the input/output params and types if i wanted to generate my own data access layer

This is ASP.Net 2.0

+1  A: 

Look into something called the Object-Relational Mappings, or ORM. There are lots of good tools that will automate most of the data layer code for you: NHibernate, Castle Active Record, SubSonic etc.

Joel Coehoorn
I think the point of the question was to do it wothoug using one..
Mitchel Sellers
Subsonic is open source it would provide you with an implementation for retrieving the stored procedures parameters.
Aaron Fischer
A: 

Adding to Joel Coehoorn's ORM list, you could also consider SubSonic. I've found it to be insanely easy to use, and it supports direct access to your procs, views and tables as you deem necessary.

You'd be much better off using an existing tool rather than rolling your own code gen. (Not that you couldn't roll your own, but why reinvent the wheel -- especially with so many good options out there?)

John Rudy
Added Subsonic to my list.
Joel Coehoorn