NAnt build files and System.Data files moved to appropriate directory.
[mono.git] / mcs / class / System.Data / System.Data / IDbCommand.cs
1 //
2 // System.Data.IDBCommand.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 namespace System.Data
11 {
12         /// <summary>
13         /// Represents a SQL statement that is executed while connected to a data source, and is implemented by .NET data providers that access relational databases.
14         /// </summary>
15         public interface IDBCommand
16         {
17                 void Cancel()
18                 {
19                 }
20                 
21                 IDataParameter CreateParameter()
22                 {
23                 }
24                 
25                 int ExecuteNonQuery()
26                 {
27                 }
28
29                 IDataReader ExecuteReader()
30                 {
31                 }
32
33                 IDataReader ExecuteReader(CommandBehavior behavior)
34                 {
35                 }
36
37                 object ExecuteScalar()
38                 {
39                 }
40
41                 void Prepare()
42                 {
43                 }
44
45
46                 string CommandText
47                 {
48                         get
49                         {
50                         }
51                         set
52                         {
53                         }
54                 }
55
56                 int CommandTimeout
57                 {
58                         get
59                         {
60                         }
61                         set
62                         {
63                         }
64                 }
65
66                 CommandType CommandType
67                 {
68                         get
69                         {
70                         }
71                         set
72                         {
73                         }
74                 }
75
76                 IDbConnection Connection
77                 {
78                         get
79                         {
80                         }
81                         set
82                         {
83                         }
84                 }
85
86                 IDataParameterCollection Parameters
87                 {
88                         get
89                         {
90                         }
91                 }
92
93                 IDbTransaction Transaction
94                 {
95                         get
96                         {
97                         }
98                         set
99                         {
100                         }
101                 }
102
103                 UpdateRowSource UpdatedRowSource
104                 {
105                         get
106                         {
107                         }
108                         set
109                         {
110                         }
111                 }
112         }
113 }