Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            SyncEntity entity = obj as SyncEntity;

            if (entity == null)
            {
                return(false);
            }
            else
            {
                return(UuId.Equals(entity.UuId));
            }
        }
Exemplo n.º 2
0
 public virtual void UpdateFrom(SyncEntity other)
 {
     UpdateDate = DateTime.Now;
     SyncState  = 1;
     UserId     = other.UserId;
 }