Use SQLServerTemplates for SQLServerQueryFactory
Merge pull request #800 from Shredder121/sql_server_query_factory

Use SQLServerTemplates for SQLServerQueryFactory