title: How do I automatically add interfaces to EF database first generated entities that have specific properties (column names) by editing T4 .tt templates
body: <p>I have a around 50 databases that have 150 tables each and working on a search mechanism that would allow to query the tables that have specific columns. Most database structures are same so idea is to generate EF entities and put interfaces behind the entities generated if tables that they are being generated from have specific columns, so that I could later query then on that column.</p>
  
  <p>Model will likely be constantly changing so I can't manually add interfaces on tables - here come in T4 templates.</p>
  
  <p><strong>I am looking for mechanism that would allow me to add interfaces on Entities based on column names on table they are being generated from</strong></p>