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 GetXS_LXXX(Expression> exp) { var query = (from student in XSJBXXRepository.GetList(exp) from contact in LXXXRepository.Entities.Where(x => x.XH == student.XH) select contact); return query; } } }