Generic Data Access to query a Sql Server Database