Implementing A Data Layer

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2003/5/12/implementing-a-data-layer.html
Published Monday, May 12, 2003 8:25 PM by RoyOsherove
Filed under:

Comments

Monday, May 12, 2003 7:39 AM by Eric J. Smith

# re: Implementing A Data Layer

CodeSmith is a template based code generator. Meaning that you have 100% control over the code that is generated. If nothing else, you should look at using it for generating your stored procedures. Take a look and let me know if you have questions.

http://www.ericjsmith.net/codesmith/
Monday, May 12, 2003 7:50 AM by Roy Osherove

# re: Implementing A Data Layer

I think I've tried it before. I think it's a great tool. I couldn;t figure out though if it can run as a VS.Net addin or not. I was only able to run it in StandAlone...
Anyway - is definitely one that is on my toolbox, however, I don't see myself using it for more then relatively small tasks such as SP generation and such...
Anyway - I'll check out the new version :)
Monday, May 12, 2003 8:15 AM by Frans Bouma

# re: Implementing A Data Layer

The problem with the approach you use, Roy, is that it uses datasets. The concept of datasets sucks. I'll try to describe it in a blog tomorrow.
Monday, May 12, 2003 8:18 AM by Roy Osherove

# re: Implementing A Data Layer

Frans: Actually - Datasets are only part of it. You can use IDataReader with all your method calls as well...