Beispiel #1
0
        public IEntityConflict CreateEntityConflict(EntityChangeset entityChangeset, ISyncSessionInfo syncSessionInfo)
        {
            var entityInfo     = entityChangeset.GetSyncableEntity();
            var entityConflict = new SolvableEntityConflict(entityInfo, syncSessionInfo);

            EntitiesConflict.Add(entityConflict);
            return(entityConflict);
        }
Beispiel #2
0
        protected bool Equals(ResolveAllConflicts other)
        {
            if (other == null)
            {
                return(false);
            }

            return(EntitiesConflict.IsEquals(other.EntitiesConflict));
        }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(EntitiesConflict != null?EntitiesConflict.GetHashCode() : 0);
 }