Commit 012e9b6f authored by Dmytro Gokun's avatar Dmytro Gokun Committed by Marc Gravell

Add ability to override Dispose() in the derived class (#1256)

parent 4eeb632f
...@@ -464,7 +464,7 @@ private bool TableExists(string name) ...@@ -464,7 +464,7 @@ private bool TableExists(string name)
/// <summary> /// <summary>
/// Disposes the current database, rolling back current transactions. /// Disposes the current database, rolling back current transactions.
/// </summary> /// </summary>
public void Dispose() public virtual void Dispose()
{ {
if (_connection.State != ConnectionState.Closed) if (_connection.State != ConnectionState.Closed)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment