Beispiel #1
0
        public virtual void Clone(CompanyType cloneObj)
        {
            base.Clone(cloneObj);

            cloneObj.Code = this.Code;

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