Example #1
0
        public virtual void Clone(Project cloneObj)
        {
            base.Clone(cloneObj);

            cloneObj.ProName = this.ProName;

            cloneObj.ProAdress = this.ProAdress;

            cloneObj.Remark = this.Remark;

            cloneObj.UserCode = this.UserCode;

            cloneObj.Password = this.Password;

            cloneObj.Org = this.Org;

            cloneObj.OrgName = this.OrgName;

            cloneObj.GetDataUrl = this.GetDataUrl;

            cloneObj.ProClientAdress = this.ProClientAdress;
        }
Example #2
0
 private static Project Create(bool inList)
 {
     Project entity = new Project();
     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;
 }
Example #3
0
 public override NHExt.Runtime.Model.BaseEntity Clone()
 {
     Project cloneObj = new Project();
     this.Clone(cloneObj);
     return cloneObj;
 }