ReplicateDataBase constructor
ReplicateDataBase(
- WardenType localWardenType,
- WardenType remoteWardenType,
- SchemaMetaData smd,
- SchemaMetaData smdSys,
- DbTransaction importTransaction,
- DbTransaction exportTransaction,
- bool initializeTables,
Implementation
ReplicateDataBase(
this.localWardenType,
this.remoteWardenType,
this.smd,
this.smdSys,
this.importTransaction,
this.exportTransaction,
this.initializeTables) {
userTools = UserTools();
AbstractWarden abstractWarden = WardenFactory.getAbstractWarden(
localWardenType, remoteWardenType);
remoteDtoDbHelper = RemoteDtoDbHelper(localWardenType, remoteWardenType,
smd, smdSys, exportTransaction, abstractWarden);
importWaterLineDao = WaterLineDao.sep(smdSys, importTransaction);
serverWarden = ServerWarden(localWardenType, importWaterLineDao);
remoteDtoFactory = RemoteDtoFactory();
exportWaterLineDao = WaterLineDao.sep(smdSys, exportTransaction);
transactionsFactory = TransactionsFactory(
localWardenType, remoteWardenType, smd, smdSys, exportTransaction);
minimalSet = false;
minimalEnumSet = null;
}