Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
79edde70
Commit
79edde70
authored
Aug 27, 2019
by
mgravell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into lib-updates
parents
3c6cbebe
6df95cbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Database.cs
Dapper.Rainbow/Database.cs
+6
-1
No files found.
Dapper.Rainbow/Database.cs
View file @
79edde70
...
@@ -175,6 +175,11 @@ public Table(Database<TDatabase> database, string likelyTableName)
...
@@ -175,6 +175,11 @@ public Table(Database<TDatabase> database, string likelyTableName)
private
int
_commandTimeout
;
private
int
_commandTimeout
;
private
DbTransaction
_transaction
;
private
DbTransaction
_transaction
;
/// <summary>
/// Get underlying database connection.
/// </summary>
public
DbConnection
Connection
=>
_connection
;
/// <summary>
/// <summary>
/// Initializes the database.
/// Initializes the database.
/// </summary>
/// </summary>
...
@@ -464,7 +469,7 @@ private bool TableExists(string name)
...
@@ -464,7 +469,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
v
irtual
v
oid
Dispose
()
{
{
if
(
_connection
.
State
!=
ConnectionState
.
Closed
)
if
(
_connection
.
State
!=
ConnectionState
.
Closed
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment