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

            EntitiesConflict.Add(entityConflict);
            return(entityConflict);
        }
コード例 #2
0
        protected bool Equals(SolvableEntityConflict other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Equals(Conflicts, other.Conflicts) &&
                   string.Equals(EntityName, other.EntityName));
        }