SubSelectDefault.cs 775 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Linq.Expressions;
  5. using System.Text;
  6. namespace SqlSugar
  7. {
  8. public class SubSelectDefault : ISubOperation
  9. {
  10. public bool HasWhere
  11. {
  12. get; set;
  13. }
  14. public ExpressionContext Context
  15. {
  16. get;set;
  17. }
  18. public Expression Expression
  19. {
  20. get;set;
  21. }
  22. public string Name
  23. {
  24. get {
  25. return "SelectDefault";
  26. }
  27. }
  28. public int Sort
  29. {
  30. get
  31. {
  32. return 250;
  33. }
  34. }
  35. public string GetValue(Expression expression)
  36. {
  37. return "*";
  38. }
  39. }
  40. }