public void Clone <T>(T obj) where T : class, IModel
        {
            GenericMaster objdata = obj as GenericMaster;

            this.GenericCode  = objdata.GenericCode;
            this.ICode        = objdata.ICode;
            this.GenericName  = objdata.GenericName;
            this.NDRX         = objdata.NDRX;
            this.CUser        = objdata.CUser;
            this.CDateTime    = objdata.CDateTime;
            this.EUser        = objdata.EUser;
            this.EDateTime    = objdata.EDateTime;
            this.LCode        = objdata.LCode;
            this.DLock        = objdata.DLock;
            this.SchH1        = objdata.SchH1;
            this.CreatedBy    = objdata.CreatedBy;
            this.CreatedDate  = objdata.CreatedDate;
            this.UpdateddBy   = objdata.UpdateddBy;
            this.UpdatedDate  = objdata.UpdatedDate;
            this.UpdatedCount = objdata.UpdatedCount;
            this.LUT          = objdata.LUT;
        }
        public T Copy <T>() where T : class, IModel, new()
        {
            T             obj     = new T();
            GenericMaster objdata = obj as GenericMaster;

            objdata.GenericCode  = this.GenericCode;
            objdata.ICode        = this.ICode;
            objdata.GenericName  = this.GenericName;
            objdata.NDRX         = this.NDRX;
            objdata.CUser        = this.CUser;
            objdata.CDateTime    = this.CDateTime;
            objdata.EUser        = this.EUser;
            objdata.EDateTime    = this.EDateTime;
            objdata.LCode        = this.LCode;
            objdata.DLock        = this.DLock;
            objdata.SchH1        = this.SchH1;
            objdata.CreatedBy    = this.CreatedBy;
            objdata.CreatedDate  = this.CreatedDate;
            objdata.UpdateddBy   = this.UpdateddBy;
            objdata.UpdatedDate  = this.UpdatedDate;
            objdata.UpdatedCount = this.UpdatedCount;
            objdata.LUT          = this.LUT;
            return(obj);
        }