Hello,
I am not expert in C# coding , but after doing a little investigation have found that SQL Server Management Objects [ SMO] can help you create objects,like stored procedures, in SQL Server in your code generators and o/r mappers.Also if you will post your question on csharpfriends forums they will assist you better
