Example #1
0
        public static DataTable getOtGroup(int otid)
        {
            Query q = OtGroup.Query();

            q.AddWhere(OtGroup.Columns.OverTimeId, otid);
            return(q.ExecuteDataSet().Tables[0]);
        }
Example #2
0
        public static void DelGroupOfQt(int otid)
        {
            Query q = OtGroup.Query();

            q.AddWhere(OtGroup.Columns.OverTimeId, otid);
            q.QueryType = QueryType.Delete;
            q.Execute();
        }