Commit 6df95cbd authored by Dmytro Gokun's avatar Dmytro Gokun Committed by Marc Gravell

Expose the underlying connection from Rainbow Database so it's easier to use...

Expose the underlying connection from Rainbow Database so it's easier to use Dapper alongside other DB frameworks (#1257)
parent 012e9b6f
......@@ -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>
......
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