Exemple #1
0
            public static DataTable pr_Chart_Month(Int64 parentid, int time1, int time2, int time3, int time4, int year1, int year2, int year3)
            {
                DataTable __result = new DataTable();
                using (MainDB db = new MainDB())
                {
                    __result = db.StoredProcedures.pr_Chart_Month(parentid, time1, time2, time3, time4, year1, year2, year3);
                    db.Close();
                }

                return __result;
            }
Exemple #2
0
            public static DataTable pr_IndexYear_SelectByIDAndTime(Int64 id, int time)
            {
                DataTable __result = new DataTable();
                using (MainDB db = new MainDB())
                {
                    __result = db.StoredProcedures.pr_IndexYear_SelectByIDAndTime(id, time);
                    db.Close();
                }

                return __result;
            }
Exemple #3
0
            public static DataTable pr_Chart_Year(Int64 parentid, int time1, int time2)
            {
                DataTable __result = new DataTable();
                using (MainDB db = new MainDB())
                {
                    __result = db.StoredProcedures.pr_Chart_Year(parentid, time1, time2);
                    db.Close();
                }

                return __result;
            }
Exemple #4
0
            public static DataTable pr_IndexMonth_SelectByIDAndTimeForQuy(int id, int time1, int time2, int year)
            {
                DataTable __result = new DataTable();
                using (MainDB db = new MainDB())
                {
                    __result = db.StoredProcedures.pr_IndexMonth_SelectByIDAndTimeForQuy(id, time1, time2, year);
                    db.Close();
                }

                return __result;
            }
 public StoredProcedures(MainDB db)
 {
     _db = db;
 }