コード例 #1
0
ファイル: SyncEntity.cs プロジェクト: uon-coehm/IQMobile
        public override bool Equals(object obj)
        {
            SyncEntity entity = obj as SyncEntity;

            if (entity == null)
            {
                return(false);
            }
            else
            {
                return(UuId.Equals(entity.UuId));
            }
        }
コード例 #2
0
ファイル: SyncEntity.cs プロジェクト: uon-coehm/IQMobile
 public virtual void UpdateFrom(SyncEntity other)
 {
     UpdateDate = DateTime.Now;
     SyncState  = 1;
     UserId     = other.UserId;
 }