2009-10-19 Jb Evain <jbevain@novell.com>
[mcs.git] / class / FirebirdSql.Data.Firebird / FirebirdSql.Data.Common / DbStatementType.cs
blob678911d7c27d779b180fbd2f86d0406b4dad2238
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
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.
15 * Copyright (c) 2002, 2005 Carlos Guzman Alvarez
16 * All Rights Reserved.
19 using System;
21 namespace FirebirdSql.Data.Common
23 internal enum DbStatementType : int
25 None = 0,
26 Select = IscCodes.isc_info_sql_stmt_select,
27 Insert = IscCodes.isc_info_sql_stmt_insert,
28 Update = IscCodes.isc_info_sql_stmt_update,
29 Delete = IscCodes.isc_info_sql_stmt_delete,
30 DDL = IscCodes.isc_info_sql_stmt_ddl,
31 GetSegment = IscCodes.isc_info_sql_stmt_get_segment,
32 PutSegment = IscCodes.isc_info_sql_stmt_put_segment,
33 StoredProcedure = IscCodes.isc_info_sql_stmt_exec_procedure,
34 StartTrans = IscCodes.isc_info_sql_stmt_start_trans,
35 Commit = IscCodes.isc_info_sql_stmt_commit,
36 Rollback = IscCodes.isc_info_sql_stmt_rollback,
37 SelectForUpdate = IscCodes.isc_info_sql_stmt_select_for_upd,
38 SetGenerator = IscCodes.isc_info_sql_stmt_set_generator,
39 SavePoint = IscCodes.isc_info_sql_stmt_savepoint