public FxDbConnection GetConnection(string name) { if (!m_connections.TryGetValue(name, out var connection)) { connection = new FxDbConnection(name, this.m_factoryList); m_connections[name] = connection; } return(connection); }
public WrapConnection(ServiceProvider serviceProvider, FxDbConnection fxDbConnection) { this.m_serviceProvider = serviceProvider; this.m_fxDbConnection = fxDbConnection; }