Commit 79edde70 authored by mgravell's avatar mgravell

Merge branch 'master' into lib-updates

parents 3c6cbebe 6df95cbd
......@@ -175,6 +175,11 @@ public Table(Database<TDatabase> database, string likelyTableName)
private int _commandTimeout;
private DbTransaction _transaction;
/// <summary>
/// Get underlying database connection.
/// </summary>
public DbConnection Connection => _connection;
/// <summary>
/// Initializes the database.
/// </summary>
......@@ -464,7 +469,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