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)
/// <summary>
/// Disposes the current database, rolling back current transactions.
/// </summary>
public void Dispose()
public virtual void Dispose()
{
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