Ejemplo n.º 1
0
        public void Clone <T>(T obj) where T : class, IModel
        {
            T_MstFinancialYear objdata = obj as T_MstFinancialYear;

            this.FinancialYearId = objdata.FinancialYearId;
            this.FinancialYear   = objdata.FinancialYear;
            this.StartDate       = objdata.StartDate;
            this.EndDate         = objdata.EndDate;
            this.LUT             = objdata.LUT;
        }
Ejemplo n.º 2
0
        public T Copy <T>() where T : class, IModel, new()
        {
            T obj = new T();
            T_MstFinancialYear objdata = obj as T_MstFinancialYear;

            objdata.FinancialYearId = this.FinancialYearId;
            objdata.FinancialYear   = this.FinancialYear;
            objdata.StartDate       = this.StartDate;
            objdata.EndDate         = this.EndDate;
            objdata.LUT             = this.LUT;
            return(obj);
        }