This commit is contained in:
grzegorz.russek
2015-05-14 22:31:28 +00:00
parent 7a545224de
commit 8c10309946
22 changed files with 666 additions and 738 deletions

View File

@@ -27,6 +27,7 @@
*/
using System;
using System.Collections.Generic;
using System.Data;
using DynamORM.Helpers;
@@ -267,7 +268,7 @@ namespace DynamORM
{
if (_con != null)
{
var pool = _db.CommandsPool.TryGetValue(_con.Connection);
List<IDbCommand> pool = _db.CommandsPool.TryGetValue(_con.Connection);
if (pool != null && pool.Contains(this))
pool.Remove(this);