コード例 #1
0
        public bool AddTeacherSchedule(string username, string index)
        {
            int result = DataProvider.GetInstance().ExcuteNonQuery(" exec USP_AddTeacher @username , @index  ", new object[] { username, index });

            return(result > 0);
        }
コード例 #2
0
        public bool AddUserSchedule(string groupId)
        {
            int result = DataProvider.GetInstance().ExcuteNonQuery("exec  USP_AddUserSchedule @idgroup ", new object[] { groupId });

            return(result > 0);
        }