Exemple #1
0
 public ChangesHistory(string TableName, Guid SyncGuid, NotifyTableChangedAction Action, int Priority)
 {
     this.TableName = TableName;
     this.Guid      = SyncGuid;
     this.Action    = Action;
     this.Priority  = Priority;
     this.Date      = DateTime.Now;
 }
Exemple #2
0
        internal void OnSynced(SyncTarget direccion, NotifyTableChangedAction action)
        {
            switch (direccion)
            {
            case SyncTarget.Local:
                OnDownloaded(action);
                break;

            case SyncTarget.Remote:
                OnUploaded(action);
                break;
            }
        }
 public NotifyTableChangedEventArgs(TableMapping table, NotifyTableChangedAction action)
 {
     Table  = table;
     Action = action;
 }
Exemple #4
0
 public NotifyTableChangedEventArgs(TableMapping table, NotifyTableChangedAction action, int count)
 {
     Table  = table;
     Action = action;
     Count  = count;
 }
Exemple #5
0
 public virtual void OnUploaded(NotifyTableChangedAction action)
 {
 }
 public ChangesHistory(string TableName, Guid SyncGuid, NotifyTableChangedAction Action)
 {
     this.TableName = TableName;
     this.SyncGuid  = SyncGuid;
     this.Action    = Action;
 }