I've been messing around with Model First entity framework stuff and needed to generate a SQLite database from it, and as such I learned about the T4 engine in Visual Studio. After reading up on it a bit I was thinking of what T4 templates I could write, and drew a blank. Apart from the obvious built in stuff like XAML to C# or EDMX to SQL or C#, I don't think I've ever had a need to generate code.
Have any of you ever used it, and if so, what for? I'm wondering if there's some obvious way to
do less work be more productive that I'm just not seeing.