Enumerations.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. //
  2. // System.Data.ObjectSpaces.Query enumerations
  3. //
  4. //
  5. // Author:
  6. // Richard Thombs ([email protected])
  7. //
  8. #if NET_1_2
  9. using System;
  10. namespace System.Data.ObjectSpaces.Query
  11. {
  12. public enum AnnotationType
  13. {
  14. QilAnnotation,
  15. ParseAnnotation,
  16. AxisNode,
  17. DebugInfo,
  18. UserInterface
  19. }
  20. public enum BinaryOperator
  21. {
  22. LogicalAnd,
  23. LogicalOr,
  24. Equality,
  25. Inequality,
  26. LessThan,
  27. LessEqual,
  28. GreaterThan,
  29. GreaterEqual,
  30. Addition,
  31. Subtraction,
  32. Multiplication,
  33. Division,
  34. Modulus,
  35. Concatenation
  36. }
  37. public enum FunctionOperator
  38. {
  39. Trim,
  40. Len,
  41. Like,
  42. Substring
  43. }
  44. public enum LiteralType
  45. {
  46. String,
  47. SByte,
  48. Byte,
  49. Int16,
  50. Int32,
  51. Int64,
  52. UInt16,
  53. UInt32,
  54. UInt64,
  55. Char,
  56. Single,
  57. Double,
  58. Boolean,
  59. Decimal,
  60. Guid,
  61. DateTime,
  62. TimeSpan
  63. }
  64. public enum NodeType
  65. {
  66. Aggregate,
  67. Axis,
  68. Binary,
  69. Conditional,
  70. Context,
  71. Distinct,
  72. Empty,
  73. Expression,
  74. Filter,
  75. Function,
  76. Join,
  77. InOperator,
  78. Literal,
  79. ObjectSpaceNode,
  80. OrderBy,
  81. Parameter,
  82. Parent,
  83. Projection,
  84. Property,
  85. RelTraversal,
  86. Span,
  87. Reference,
  88. TypeCast,
  89. TypeConversion,
  90. Unary
  91. }
  92. public enum RelTraversalDirection
  93. {
  94. ToTarget,
  95. ToSource
  96. }
  97. public enum UnaryOperator
  98. {
  99. Negation,
  100. LogicalNot,
  101. IsNull,
  102. Exists
  103. }
  104. }
  105. #endif