In .:
[mono.git] / mcs / class / FirebirdSql.Data.Firebird / FirebirdSql.Data.Firebird / Isql / SqlStatementType.cs
1 /*
2  *      Firebird ADO.NET Data provider for .NET and Mono 
3  * 
4  *         The contents of this file are subject to the Initial 
5  *         Developer's Public License Version 1.0 (the "License"); 
6  *         you may not use this file except in compliance with the 
7  *         License. You may obtain a copy of the License at 
8  *         http://www.firebirdsql.org/index.php?op=doc&id=idpl
9  *
10  *         Software distributed under the License is distributed on 
11  *         an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 
12  *         express or implied. See the License for the specific 
13  *         language governing rights and limitations under the License.
14  * 
15  *      Copyright (c) 2003, 2005 Abel Eduardo Pereira
16  *      All Rights Reserved.
17  */
18
19 using System;
20 using System.Data;
21 using System.Collections;
22 using System.Collections.Specialized;
23 using System.Globalization;
24
25 using FirebirdSql.Data.Firebird;
26 using FirebirdSql.Data.Common;
27
28 namespace FirebirdSql.Data.Firebird.Isql
29 {
30         /// <summary>
31         /// DSQL and ISQL statement types.
32         /// </summary>
33         public enum SqlStatementType 
34         {
35                 /// <summary>
36                 /// Represents the SQL statement: <b>ALTER DATABASE</b>
37                 /// </summary>
38                 AlterDatabase = 0,
39
40                 /// <summary>
41                 /// Represents the SQL statement: <b>ALTER DOMAIN</b>
42                 /// </summary>
43                 AlterDomain,
44
45                 /// <summary>
46                 /// Represents the SQL statement: <b>ALTER EXCEPTION</b>
47                 /// </summary>
48                 AlterException,
49
50                 /// <summary>
51                 /// Represents the SQL statement: <b>ALTER INDEX</b>
52                 /// </summary>
53                 AlterIndex,
54
55                 /// <summary>
56                 /// Represents the SQL statement: <b>ALTER PROCEDURE</b>
57                 /// </summary>
58                 AlterProcedure,
59
60                 /// <summary>
61                 /// Represents the SQL statement: <b>ALTER TABLE</b>
62                 /// </summary>
63                 AlterTable,
64
65                 /// <summary>
66                 /// Represents the SQL statement: <b>ALTER TRIGGER</b>
67                 /// </summary>
68                 AlterTrigger,
69
70                 /// <summary>
71                 /// Represents the SQL statement: <b>CLOSE</b>
72                 /// </summary>
73                 Close,
74
75                 /// <summary>
76                 /// Represents the SQL statement: <b>COMMIT</b>
77                 /// </summary>
78                 Commit,
79
80                 /// <summary>
81                 /// Represents the SQL statement: <b>CONNECT</b>
82                 /// </summary>
83                 Connect,
84
85                 /// <summary>
86                 /// Represents the SQL statement: <b>CREATE     DATABASE</b>
87                 /// </summary>
88                 CreateDatabase,
89
90                 /// <summary>
91                 /// Represents the SQL statement: <b>CREATE     DOMAIN</b>
92                 /// </summary>
93                 CreateDomain,
94
95                 /// <summary>
96                 /// Represents the SQL statement: <b>CREATE     EXCEPTION</b>
97                 /// </summary>
98                 CreateException,
99
100                 /// <summary>
101                 /// Represents the SQL statement: <b>CREATE     GENERATOR</b>
102                 /// </summary>
103                 CreateGenerator,
104
105                 /// <summary>
106                 /// Represents the SQL statement: <b>CREATE     INDEX</b>
107                 /// </summary>
108                 CreateIndex,
109
110                 /// <summary>
111                 /// Represents the SQL statement: <b>CREATE     PROCEDURE</b>
112                 /// </summary>
113                 CreateProcedure,
114
115                 /// <summary>
116                 /// Represents the SQL statement: <b>CREATE     ROLE</b>
117                 /// </summary>
118                 CreateRole,
119
120                 /// <summary>
121                 /// Represents the SQL statement: <b>CREATE     SHADOW</b>
122                 /// </summary>
123                 CreateShadow,
124
125                 /// <summary>
126                 /// Represents the SQL statement: <b>CREATE     TABLE</b>
127                 /// </summary>
128                 CreateTable,
129
130                 /// <summary>
131                 /// Represents the SQL statement: <b>CREATE     TRIGGER</b>
132                 /// </summary>
133                 CreateTrigger,
134
135                 /// <summary>
136                 /// Represents the SQL statement: <b>CREATE     VIEW</b>
137                 /// </summary>
138                 CreateView,
139
140                 /// <summary>
141                 /// Represents the SQL statement: <b>DECLARE CURSOR</b>
142                 /// </summary>
143                 DeclareCursor,
144
145                 /// <summary>
146                 /// Represents the SQL statement: <b>DECLARE EXTERNAL FUNCTION</b>
147                 /// </summary>
148                 DeclareExternalFunction,
149
150                 /// <summary>
151                 /// Represents the SQL statement: <b>DECLARE FILTER</b>
152                 /// </summary>
153                 DeclareFilter,
154
155                 /// <summary>
156                 /// Represents the SQL statement: <b>DECLARE STATEMENT</b>
157                 /// </summary>
158                 DeclareStatement,
159
160                 /// <summary>
161                 /// Represents the SQL statement: <b>DECLARE TABLE</b>
162                 /// </summary>
163                 DeclareTable,
164
165                 /// <summary>
166                 /// Represents the SQL statement: <b>DELETE</b>
167                 /// </summary>
168                 Delete,
169
170                 /// <summary>
171                 /// Represents the SQL statement: <b>DESCRIBE</b>
172                 /// </summary>
173                 Describe,
174
175                 /// <summary>
176                 /// Represents the SQL statement: <b>DISCONNECT</b>
177                 /// </summary>
178                 Disconnect,
179
180                 /// <summary>
181                 /// Represents the SQL statement: <b>DROP DATABASE</b>
182                 /// </summary>
183                 DropDatabase,
184
185                 /// <summary>
186                 /// Represents the SQL statement: <b>DROP DOMAIN</b>
187                 /// </summary>
188                 DropDomain,
189
190                 /// <summary>
191                 /// Represents the SQL statement: <b>DROP EXCEPTION</b>
192                 /// </summary>
193                 DropException,
194
195                 /// <summary>
196                 /// Represents the SQL statement: <b>DROP EXTERNAL FUNCTION</b>
197                 /// </summary>
198                 DropExternalFunction,
199
200                 /// <summary>
201                 /// Represents the SQL statement: <b>DROP FILTER</b>
202                 /// </summary>
203                 DropFilter,
204
205                 /// <summary>
206                 /// Represents the SQL statement: <b>DROP GENERATOR</b>
207                 /// </summary>
208                 DropGenerator,
209
210                 /// <summary>
211                 /// Represents the SQL statement: <b>DROP INDEX</b>
212                 /// </summary>
213                 DropIndex,
214
215                 /// <summary>
216                 /// Represents the SQL statement: <b>DROP PROCEDURE</b>
217                 /// </summary>
218                 DropProcedure,
219
220                 /// <summary>
221                 /// Represents the SQL statement: <b>DROP ROLE</b>
222                 /// </summary>
223                 DropRole,
224
225                 /// <summary>
226                 /// Represents the SQL statement: <b>DROP SHADOW</b>
227                 /// </summary>
228                 DropShadow,
229
230                 /// <summary>
231                 /// Represents the SQL statement: <b>DROP TABLE</b>
232                 /// </summary>
233                 DropTable,
234
235                 /// <summary>
236                 /// Represents the SQL statement: <b>DROP TRIGGER</b>
237                 /// </summary>
238                 DropTrigger,
239
240                 /// <summary>
241                 /// Represents the SQL statement: <b>DROP VIEW</b>
242                 /// </summary>
243                 DropView,
244
245                 /// <summary>
246                 /// Represents the SQL statement: <b>END DECLARE SECTION</b>
247                 /// </summary>
248                 EndDeclareSection,
249
250                 /// <summary>
251                 /// Represents the SQL statement: <b>EVENT INIT</b>
252                 /// </summary>
253                 EventInit,
254
255                 /// <summary>
256                 /// Represents the SQL statement: <b>EVENT WAIT</b>
257                 /// </summary>
258                 EventWait,
259
260                 /// <summary>
261                 /// Represents the SQL statement: <b>EXECUTE</b>
262                 /// </summary>
263                 Execute,
264
265                 /// <summary>
266                 /// Represents the SQL statement: <b>EXECUTE IMMEDIATE</b>
267                 /// </summary>
268                 ExecuteImmediate,
269
270                 /// <summary>
271                 /// Represents the SQL statement: <b>EXECUTE PROCEDURE</b>
272                 /// </summary>
273                 ExecuteProcedure,
274
275                 /// <summary>
276                 /// Represents the SQL statement: <b>FETCH</b>
277                 /// </summary>
278                 Fetch,
279
280                 /// <summary>
281                 /// Represents the SQL statement: <b>GRANT</b>
282                 /// </summary>
283                 Grant,
284
285                 /// <summary>
286                 /// Represents the SQL statement: <b>INSERT</b>
287                 /// </summary>
288                 Insert,
289
290                 /// <summary>
291                 /// Represents the SQL statement: <b>INSERT     CURSOR</b>
292                 /// </summary>
293                 InsertCursor,
294
295                 /// <summary>
296                 /// Represents the SQL statement: <b>OPEN</b>
297                 /// </summary>
298                 Open,
299
300                 /// <summary>
301                 /// Represents the SQL statement: <b>PREPARE</b>
302                 /// </summary>
303                 Prepare,
304
305                 /// <summary>
306                 /// Represents the SQL statement: <b>REVOKE</b>
307                 /// </summary>
308                 Revoke,
309
310                 /// <summary>
311                 /// Represents the SQL statement: <b>ROLLBACK</b>
312                 /// </summary>
313                 Rollback,
314
315                 /// <summary>
316                 /// Represents the SQL statement: <b>SELECT</b>
317                 /// </summary>
318                 Select,
319
320                 /// <summary>
321                 /// Represents the SQL statement: <b>SET DATABASE</b>
322                 /// </summary>
323                 SetDatabase,
324
325                 /// <summary>
326                 /// Represents the SQL statement: <b>SET GENERATOR</b>
327                 /// </summary>
328                 SetGenerator,
329
330                 /// <summary>
331                 /// Represents the SQL statement: <b>SET NAMES</b>
332                 /// </summary>
333                 SetNames,
334
335                 /// <summary>
336                 /// Represents the SQL statement: <b>SET SQL DIALECT</b>
337                 /// </summary>
338                 SetSQLDialect,
339
340                 /// <summary>
341                 /// Represents the SQL statement: <b>SET STATISTICS</b>
342                 /// </summary>
343                 SetStatistics,
344
345                 /// <summary>
346                 /// Represents the SQL statement: <b>SET TRANSACTION</b>
347                 /// </summary>
348                 SetTransaction,
349
350                 /// <summary>
351                 /// Represents the SQL statement: <b>SHOW SQL DIALECT</b>
352                 /// </summary>
353                 ShowSQLDialect,
354
355                 /// <summary>
356                 /// Represents the SQL statement: <b>UPDATE</b>
357                 /// </summary>
358                 Update,
359
360                 /// <summary>
361                 /// Represents the SQL statement: <b>WHENEVER</b>
362                 /// </summary>
363                 Whenever
364         }
365 }