File tree Expand file tree Collapse file tree 5 files changed +15
-2
lines changed
Expand file tree Collapse file tree 5 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,10 @@ private MySqlConnection GetNewConn(bool open = true)
101101 public DbConnection GetConn ( )
102102 { return dbConn ; }
103103
104-
104+ public void Close ( )
105+ {
106+ dbConn . Close ( ) ;
107+ }
105108 private void SetTransState ( bool state )
106109 {
107110 if ( state )
Original file line number Diff line number Diff line change @@ -113,6 +113,11 @@ private void SetTransState(bool state)
113113 public DbConnection GetConn ( )
114114 { return dbConn ; }
115115
116+ public void Close ( )
117+ {
118+ dbConn . Close ( ) ;
119+ }
120+
116121 public bool Init ( )
117122 {
118123 return Common . Init ( dbConn , "PostgreSQL" ) ;
Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ private void SetTransState(bool state)
108108 public DbConnection GetConn ( )
109109 { return dbConn ; }
110110
111+ public void Close ( )
112+ {
113+ dbConn . Close ( ) ;
114+ }
111115 public bool Init ( )
112116 {
113117 SQLitePCL . Batteries . Init ( ) ;
Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ public static IAnyBase Base(string name)
2121 }
2222
2323 public static int Version ( )
24- { return 8 ; }
24+ { return 9 ; }
2525 }
2626}
Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ public interface IAnyBase
1414 public DbConnection GetConn ( ) ;
1515
1616 public bool Init ( ) ;
17+ public void Close ( ) ;
1718}
You can’t perform that action at this time.
0 commit comments