Template creation template with c # template

Can anyone recommend a decent C # Carter pattern template that works great with SQL stored procedures? I'm looking for something that generates POCO entity objects , with a static mapping class to pass data to / from the database via entity objects.

I understand that NHibernate can generate POCO style object objects; however NHibernate loses its appeal if you have a heavy reliance on SQL stored procedures (which is a requirement of this project).

Bonus points are awarded if you can also recommend a template that also generates CRUD stored procedures !; -)

Edit: For this particular project, I'm definitely not interested in templates that generate Active Record template code (like Subsonic, Linq to SQL, Entity Framework, etc.).

0


source to share


2 answers


The oldest but free LLBLGen will generate CRUD stored procedures. It will generate objects too, but I'm forgetting how similar they are to POCOs. I have a feeling they have more guts in them than not.



http://www.codeproject.com/KB/database/usingllblgen.aspx

0


source


Have you used My Generation and used it to create your own templates?



0


source







All Articles