Preparing the code for cleaner sql or dapper.
Preparing for sql repository optimized for sql server.