public Boolean SetReplicaTerminalLogSync(Replica replica, ReplicaLog oreplicaLog) { SqlDatabaseDA sqlDatabaseAccess = new SqlDatabaseDA(replica.StrTerminalUser, replica.StrTerminalPassword, replica.StrTerminalIPAddress, replica.IntTerminalPort.ToString(), replica.StrTerminalDatabase); return sqlDatabaseAccess.SetReplicaLogSync(oreplicaLog); }
public Boolean SetReplicaSourceLogSync(Replica replica,ReplicaLog oreplicaLog) { SqlDatabaseDA sqlDatabaseAccess = new SqlDatabaseDA(replica.StrSourceUser, replica.StrSourcePassword, replica.StrSourceIPAddress, replica.IntSourcePort.ToString(), replica.StrSourceDatabase); return sqlDatabaseAccess.SetReplicaLogSync(oreplicaLog); }