(IDbConnection conn)
| 49 | } |
| 50 | |
| 51 | public static bool Add(IDbConnection conn) |
| 52 | { |
| 53 | var connections = Instance?.Connections; |
| 54 | if (connections == null || connections.Contains(conn)) return false; |
| 55 | connections.Add(conn); |
| 56 | return true; |
| 57 | } |
| 58 | |
| 59 | public static bool Remove(IDbConnection conn, bool disconnect = false) |
| 60 | { |