Beispiel #1
0
        /// <summary>
        /// 克隆
        /// </summary>
        /// <returns>返回当前对象的实例副本</returns>
        public new BuyExam Clone()
        {
            BuyExam buyExam = base.Clone() as BuyExam;

            buyExam.Dept      = this.dept.Clone();
            buyExam.ApplyOper = this.applyOper.Clone();
            buyExam.ApplyDept = this.applyDept.Clone();
            buyExam.ExamOper  = this.examOper.Clone();
            buyExam.ExamDept  = this.examDept.Clone();
            buyExam.NextDept  = this.nextDept.Clone();

            return(buyExam);
        }
Beispiel #2
0
 /// <summary>
 /// 增加一个审批信息
 /// </summary>
 /// <param name="buyExam">审批实体</param>
 public void Add(BuyExam newBuyExam)
 {
     this.buyExam.Add(newBuyExam);
 }