Пример #1
0
        public virtual void Clone(BizTreeEntity cloneObj)
        {
            base.Clone(cloneObj);

            cloneObj.PID = this.PID;

            cloneObj.Name = this.Name;

            cloneObj.FullName = this.FullName;

            cloneObj.Level = this.Level;

            cloneObj.OrderNo = this.OrderNo;

            cloneObj.Leaf = this.Leaf;

            cloneObj.IsDelete = this.IsDelete;
        }
Пример #2
0
 private static BizTreeEntity Create(bool inList)
 {
     BizTreeEntity entity = new BizTreeEntity();
     entity.ID = NHExt.Runtime.Util.EntityGuidHelper.New();
     entity.EntityState = NHExt.Runtime.Enums.EntityState.Add;
     if(inList){
     if(Session.Current != null){
     Session.Current.InList(entity);
     }
     }
     return entity;
 }
Пример #3
0
 public override NHExt.Runtime.Model.BaseEntity Clone()
 {
     BizTreeEntity cloneObj = new BizTreeEntity();
     this.Clone(cloneObj);
     return cloneObj;
 }