I have asked a similar question before which was not answered, i am trying to understand how can i generate LINQ2SQL classes using T4 templates. I'm using (or trying to use) sharp architecture. just couldn't find the starting point.
What i have done: i have gone through many tutorials blogs that describe code generation using the T4 templates but couldn't find a way how can i generate the entity classes or linq2sql classes from the database like its done in the Entity Framework. Do i have to hand write the mappings and then the classes will be generated using the database or what if my question seems vague or not properly phrased, sorry for that but thats all i have of T4 and Fluent Hibernate at the moment.
I'll be grateful for any guidance/help ...
sharp architecture is using NHibernate under the covers. I don't think it supports Linq2Sql as well. Either use Linq2Sql (Getting started) or sharp architecutre.