Manually invoke MSLinqToSQLGenerator custom tool from a T4 file
I am creating a *.tt file to automate some generation processes within my solution and am stuck at how to manually invoke the 'MSLinqToSQLGenerator' custom tool that LINQ uses. C开发者_如何学Can someone show me how this is done?
Have you considered the alternative of replacing the default custom tool (that uses T4 internally) with a T4 that produces the same output?
I did it with this external template when I needed to plug in additional functionality.
MSDN Documentation for the LINQ to SQL Generator
Two Custom tool s for a single file?
精彩评论