public DeleteSelfAction(SchemaObjectBase item) { this.item = item; item.ClearRelativeData(); this.parentRelations = item.CurrentParentRelations; this.containerRelations = SCMemberRelationAdapter.Instance.LoadByMemberID(item.ID).FilterByStatus(SchemaObjectStatusFilterTypes.Normal); }
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(); }
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); }