Guest User

Untitled

a guest
Jun 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. public static IEnumerable<T> FilterCultureSubQuery<T>(this Table<T> t)
  2. where T : class
  3. {
  4. return t;
  5. }
  6.  
  7. var test = from p in t.Products
  8. select new
  9. {
  10. Allo = p,
  11. Allo2 = (from pl in t.ProductLocales.FilterCultureSubQuery()
  12. select pl)
  13. };
  14.  
  15. public static IQueryable<T> FilterCultureSubQuery<T>(this Table<T> t)
  16. where T : class
  17. {
  18. return t;
  19. }
  20.  
  21. public static IQueryable<T> FilterCultureSubQuery<T>(this Table<T> t)
  22. where T : class
  23. {
  24. return t;
  25. }
  26.  
  27. var test = from pl in t.ProductLocales.FilterCultureSubQuery() select pl;
  28.  
  29. var test = from pl in t.ProductLocales.FilterCultureSubQuery() select pl;
  30.  
  31. var test = from p in t.Products
  32. select new
  33. {
  34. Allo = p,
  35. Allo2 = (from pl in t.ProductLocales.FilterCultureSubQuery()
  36. select pl)
  37. };
  38.  
  39. var test = (from p in t.Products
  40. select new
  41. {
  42. Allo = p,
  43. Allo2 = (from pl in t.ProductLocales.FilterCultureSubQuery()
  44. select pl)
  45. }).ArrangeExpression();
Add Comment
Please, Sign In to add comment