123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Linq.Expressions;
- using System.Text;
- using EMIS.DataLogic.Repositories.DataCenter;
- using EMIS.DataLogic.Repositories.LYDataCenter;
- using EMIS.Entities.DataCenter;
- namespace EMIS.DataLogic.DataCenterSynch
- {
- public class StudentSynchDAL
- {
- public XSJBXXRepository XSJBXXRepository { get; set; }
- public LXXXRepository LXXXRepository { get; set; }
- public XXBZ_JWXT_XSJBXX_VIEWRepository XXBZ_JWXT_XSJBXX_VIEWRepository { get; set; }
- public IQueryable<XS_LXXX> GetXS_LXXX(Expression<Func<XS_XSJBXX, bool>> exp)
- {
- var query = (from student in XSJBXXRepository.GetList(exp)
- from contact in LXXXRepository.Entities.Where(x => x.XH == student.XH)
- select contact);
- return query;
- }
- }
- }
|