Ejemplo n.º 1
0
 public void Dispose()
 {
     if (_sql != null)
     {
         _sql.Dispose();
         _sql = null;
     }
 }
Ejemplo n.º 2
0
 public QueryExecutor(string sqlConnectionString)
 {
     if (string.IsNullOrWhiteSpace(sqlConnectionString))
     {
         throw new Exception("The connection string must be informed.");
     }
     _sql = new SqlQueryToJson(sqlConnectionString);
 }