Esempio 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));
            }
        }
Esempio n. 2
0
 public virtual void UpdateFrom(SyncEntity other)
 {
     UpdateDate = DateTime.Now;
     SyncState  = 1;
     UserId     = other.UserId;
 }