Example #1
0
        }//---------------------

        //this function will get student information by person system id
        public CommonExchange.Student SelectBySysIDPersonStudentInformation(CommonExchange.SysAccess userInfo, String personSysId, String startUp)
        {
            CommonExchange.Student studentInfo = new CommonExchange.Student();

            using (RemoteClient.RemCntStudentManager remClient = new RemoteClient.RemCntStudentManager())
            {
                studentInfo = remClient.SelectBySysIDPersonStudentInformation(userInfo, personSysId);
            }

            studentInfo.PersonInfo.FilePath = this.GetPersonImagePath(userInfo, studentInfo.PersonInfo.PersonSysId,
                                                                      studentInfo.PersonInfo.PersonImagesFolder(startUp));

            return(studentInfo);
        }//------------------