public override bool Equals(object obj) { SyncEntity entity = obj as SyncEntity; if (entity == null) { return(false); } else { return(UuId.Equals(entity.UuId)); } }
public virtual void UpdateFrom(SyncEntity other) { UpdateDate = DateTime.Now; SyncState = 1; UserId = other.UserId; }