예제 #1
0
 public DeleteSelfAction(SchemaObjectBase item)
 {
     this.item = item;
     item.ClearRelativeData();
     this.parentRelations    = item.CurrentParentRelations;
     this.containerRelations = SCMemberRelationAdapter.Instance.LoadByMemberID(item.ID).FilterByStatus(SchemaObjectStatusFilterTypes.Normal);
 }
예제 #2
0
		public DeleteSelfAction(SchemaObjectBase item)
		{
			this.item = item;
			item.ClearRelativeData();
			this.parentRelations = item.CurrentParentRelations;
			this.containerRelations = SCMemberRelationAdapter.Instance.LoadByMemberID(item.ID).FilterByStatus(SchemaObjectStatusFilterTypes.Normal);
		}
예제 #3
0
		public AUObjectExecutor(AUOperationType opType, SchemaObjectBase data)
			: base(opType)
		{
			data.NullCheck("data");

			data.ClearRelativeData();
			this._Data = data;
		}
        private void AddCandidates(SchemaObjectBase obj)
        {
            this._Candidates.Add(obj);
            obj.ClearRelativeData();

            ProcessProgress.Current.StatusText = string.Format("已经准备了{0:#,##0}个待替换Acl的对象", this._Candidates.Count);
            ProcessProgress.Current.Response();
        }
예제 #5
0
        public AUObjectExecutor(AUOperationType opType, SchemaObjectBase data)
            : base(opType)
        {
            data.NullCheck("data");

            data.ClearRelativeData();
            this._Data = data;
        }
        private void AddCandidates(SchemaObjectBase parent, bool deletedByContainer, SchemaObjectBase obj)
        {
            this._Candidates.Add(new SCDeleteCandidate(parent, deletedByContainer, obj));
            obj.ClearRelativeData();

            ProcessProgress.Current.StatusText = string.Format("已经准备了{0:#,##0}个待删除数据", this._Candidates.Count);
            ProcessProgress.Current.Response();
        }
		public AUMemberRelativeExecutorBase(AUOperationType opType, SchemaObjectBase container, SchemaObjectBase member)
			: base(opType, member)
		{
			container.NullCheck("container");

			container.ClearRelativeData();

			if (member != null)
				member.ClearRelativeData();

			this._Container = container;
			this._Relation = PrepareRelationObject(container, member);
		}
        public AUMemberRelativeExecutorBase(AUOperationType opType, SchemaObjectBase container, SchemaObjectBase member)
            : base(opType, member)
        {
            container.NullCheck("container");

            container.ClearRelativeData();

            if (member != null)
            {
                member.ClearRelativeData();
            }

            this._Container = container;
            this._Relation  = PrepareRelationObject(container, member);
        }
		private void AddCandidates(SchemaObjectBase obj)
		{
			this._Candidates.Add(obj);
			obj.ClearRelativeData();

			ProcessProgress.Current.StatusText = string.Format("已经准备了{0:#,##0}个待替换Acl的对象", this._Candidates.Count);
			ProcessProgress.Current.Response();
		}