Exemple #1
0
        public List <Dictionary <string, object> > GetCombo()
        {
            //var uid = User.GetUserId();

            string sql = @"SELECT XSubscriptionId id, ( [dbo].[XSubscription_BRIEF_F](XSubscriptionId,null)  ) name
                         FROM            
                          XSubscription 
                            order by name ";

            return(_context.GetRaw(sql));
        }
        public List <Dictionary <string, object> > GetCombo()
        {
            //var uid = User.GetUserId();

            string sql = @"SELECT XCourseDescId id, ( [dbo].[xCourseDesc_BRIEF_F](XCourseDescId,null)  ) name
                         FROM            
                          XCourseDesc 
                            order by name ";

            return(_context.GetRaw(sql));
        }
        public List <Dictionary <string, object> > GetCombo()
        {
            //var uid = User.GetUserId();

            string sql = @"SELECT XInstructorInfoId id, ( [dbo].[XInstructorInfo_BRIEF_F](XInstructorInfoId,null)  ) name
                         FROM            
                          XInstructorInfo 
                            order by name ";

            return(_context.GetRaw(sql));
        }