コード例 #1
0
ファイル: QueryExecutor.cs プロジェクト: renanhonda/QueryPool
 public void Dispose()
 {
     if (_sql != null)
     {
         _sql.Dispose();
         _sql = null;
     }
 }
コード例 #2
0
ファイル: QueryExecutor.cs プロジェクト: renanhonda/QueryPool
 public QueryExecutor(string sqlConnectionString)
 {
     if (string.IsNullOrWhiteSpace(sqlConnectionString))
     {
         throw new Exception("The connection string must be informed.");
     }
     _sql = new SqlQueryToJson(sqlConnectionString);
 }