TriggerAction.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. //
  2. // System.Data.Sql.TriggerAction
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. //
  10. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  11. //
  12. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. #if NET_2_0
  32. namespace System.Data.Sql {
  33. public enum TriggerAction
  34. {
  35. AlterAppRole,
  36. AlterAssembly,
  37. AlterBinding,
  38. AlterFunction,
  39. AlterIndex,
  40. AlterLogin,
  41. AlterPartitionFunction,
  42. AlterPartitionScheme,
  43. AlterProcedure,
  44. AlterQueue,
  45. AlterRole,
  46. AlterRoute,
  47. AlterSchema,
  48. AlterService,
  49. AlterTable,
  50. AlterTrigger,
  51. AlterUser,
  52. AlterView,
  53. CreateAppRole,
  54. CreateAssembly,
  55. CreateBinding,
  56. CreateContract,
  57. CreateEventNotification,
  58. CreateFunction,
  59. CreateIndex,
  60. CreateLogin,
  61. CreateMsgType,
  62. CreatePartitionFunction,
  63. CreatePartitionScheme,
  64. CreateProcedure,
  65. CreateQueue,
  66. CreateRole,
  67. CreateRoute,
  68. CreateSchema,
  69. CreateSecexpr,
  70. CreateService,
  71. CreateSynonym,
  72. CreateTable,
  73. CreateTrigger,
  74. CreateType,
  75. CreateUser,
  76. CreateView,
  77. Delete,
  78. DenyObject,
  79. DropAppRole,
  80. DropAssembly,
  81. DropBinding,
  82. DropContract,
  83. DropEventNotification,
  84. DropFunction,
  85. DropIndex,
  86. DropLogin,
  87. DropMsgType,
  88. DropPartitionFunction,
  89. DropPartitionScheme,
  90. DropProcedure,
  91. DropQueue,
  92. DropRole,
  93. DropRoute,
  94. DropSchema,
  95. DropSecexpr,
  96. DropService,
  97. DropSynonym,
  98. DropTable,
  99. DropTrigger,
  100. DropType,
  101. DropUser,
  102. DropView,
  103. GrantObject,
  104. GrantStatement,
  105. Insert,
  106. Invalid,
  107. RevokeObject,
  108. RevokeStatement,
  109. Update
  110. }
  111. }
  112. #endif