Пример #1
0
 void Completed(object sende, EventArgs e)
 {
     string m_huyen = App.nhomtd.Length>30 ? App.nhomtd + ";WWW": App.nhomtd;
     QLThuebaoDomainContext dstb = new QLThuebaoDomainContext();
     EntityQuery<rp_tktonghop> Query = dstb.GetRp_tktonghopQuery();
     LoadOperation<rp_tktonghop> LoadOp = dstb.Load(Query.Where(p => m_huyen.Contains(p.ma_dv.Trim())).OrderBy(p => p.ma_dv), LoadOp_Complete, null);
 }