Ejemplo n.º 1
0
        public void ConvertFeeToFeeBDO(Fee f, FeeBDO fBDO)
        {
            GradeLevelDAO gdao = new GradeLevelDAO();

            fBDO.Deactivated = f.Deactivated;
            fBDO.FeeID = f.FeeID;
            fBDO.FeeDescription = f.FeeDescription;
            fBDO.NumPay = f.NumPay;
            fBDO.DiscountFullPay = f.DiscountFullPay;
            fBDO.Amount = f.Amount;

            fBDO.GradeLevel = f.GradeLevel;
            fBDO.SYImplemented = f.SYImplemented;
        }
Ejemplo n.º 2
0
        public void ConvertFeeToFeeBDO(Fee f, FeeBDO fBDO)
        {
            GradeLevelDAO gdao = new GradeLevelDAO();

            if (f != null)
            {
                fBDO.Deactivated     = f.Deactivated;
                fBDO.FeeID           = f.FeeID;
                fBDO.FeeDescription  = f.FeeDescription;
                fBDO.NumPay          = f.NumPay;
                fBDO.DiscountFullPay = f.DiscountFullPay;
                fBDO.Amount          = f.Amount;

                fBDO.GradeLevel    = f.GradeLevel;
                fBDO.SYImplemented = f.SYImplemented;
            }
            else
            {
                fBDO = new FeeBDO();
            }
        }