public StudentBasicInfoUI GetStudengInfoById(int Id) { return(EntityMapping.Auto <StudentBasicInfo, StudentBasicInfoUI>(StudentBasicInfoContext.GetStudentInfoById(Id))); }
public List <StudentBasicInfoUI> GetStudentInfoByPage(int startPage, int pageSize, out int totalCount) { return(EntityMapping.Auto <List <StudentBasicInfo>, List <StudentBasicInfoUI> >(StudentBasicInfoContext.GetStudentInfoByPage(startPage, pageSize, out totalCount))); }