DBAdapter<C extends Object> constructor

DBAdapter<C extends Object>(
  1. String name,
  2. int minConnections,
  3. int maxConnections,
  4. DBAdapterCapability capability, {
  5. EntityRepositoryProvider? parentRepositoryProvider,
  6. Object? populateSource,
  7. Object? populateSourceVariables,
  8. String? workingPath,
})

Implementation

DBAdapter(
    this.name, this.minConnections, this.maxConnections, this.capability,
    {this.parentRepositoryProvider,
    Object? populateSource,
    Object? populateSourceVariables,
    String? workingPath})
    : _populateSource = populateSource,
      _populateSourceVariables = populateSourceVariables,
      _workingPath = workingPath {
  boot();

  _instances.add(this);

  parentRepositoryProvider?.notifyKnownEntityRepositoryProvider(this);
}