private void PrepareReplica_ExecuteCode(object sender, EventArgs e) { SyncDatabase db = new SyncDatabase( new FbConnection("Database=fdb:/var/db/ch_bl_s.fdb;User=SYSDBA;Password=3Ky1u6nd;Charset=WIN1251")); db.StartSession(SessionMode.Read); SyncLogReplicaInfo replicaInfo = db.SourcePrepare(db.GetSyncLink(0)); //SyncLogReplica replica = db.SourceGetNextReplica(replicaInfo, false) as SyncLogReplica; //replica.Serialize("c:\\test.replica", true); db.EndSession(true); }
public SyncLogReplica SourceGetNextReplica(SyncLogReplicaInfo replicaInfo, SourcePrepareOptions Options, SyncLinkFilterList Filters) { SyncLogReplica replica = sync_db.SourceGetNextReplica(replicaInfo, Options, Filters); return(replica); }
public void SourceCommitReplica(SyncLogReplicaInfo replica) { sync_db.SourceCommitReplica(replica); }
public void SourceCommitReplica(SyncLogReplicaInfo replica) { Channel.SourceCommitReplica(replica); }
public SyncLogReplica SourceGetNextReplica(SyncLogReplicaInfo replicaInfo, SourcePrepareOptions Options, SyncLinkFilterList Filters) { return(Channel.SourceGetNextReplica(replicaInfo, Options, Filters)); }