コード例 #1
0
        public MemberList getMembersByStudID(int StudID)
        {
            MemberList student = new MemberList();
            var        stud    = dataContext.sp_GetMembersByStuID(StudID).First();

            student.FirstName = stud.FirstName;
            student.LastName  = stud.LastName;
            student.Name      = stud.FirstName + " " + stud.LastName;
            student.Position  = stud.MemberName;

            return(student);
        }