开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜