2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
[mono.git] / mcs / class / System.Data / System.Data.SqlClient / SqlParameter.cs
1 //
2 // System.Data.SqlClient.SqlParameter.cs
3 //
4 // Author:
5 //   Rodrigo Moya (rodrigo@ximian.com)
6 //   Daniel Morgan (danmorg@sc.rr.com)
7 //
8 // (C) Ximian, Inc. 2002
9 //
10 using System;
11 using System.ComponentModel;
12 using System.Data;
13 using System.Data.Common;
14 using System.Runtime.InteropServices;
15
16 namespace System.Data.SqlClient
17 {
18         /// <summary>
19         /// Represents a parameter to a Command object, and optionally, 
20         /// its mapping to DataSet columns; and is implemented by .NET 
21         /// data providers that access data sources.
22         /// </summary>
23         //public sealed class SqlParameter : MarshalByRefObject,
24         //      IDbDataParameter, IDataParameter, ICloneable
25         public sealed class SqlParameter : IDbDataParameter, IDataParameter
26         {
27                 [MonoTODO]
28                 public SqlParameter () {
29                         // FIXME: do this
30                 }
31
32                 [MonoTODO]
33                 public SqlParameter (string parameterName, object value) {
34                         // FIXME: do this
35                 }
36                 
37                 [MonoTODO]
38                 public SqlParameter(string parameterName, SqlDbType dbType) {
39                         // FIXME: do this
40                 }
41
42                 [MonoTODO]
43                 public SqlParameter(string parameterName, SqlDbType dbType,
44                         int size) {
45                         // FIXME: do this
46                 }
47                 
48                 [MonoTODO]
49                 public SqlParameter(string parameterName, SqlDbType dbType,
50                         int size, string sourceColumn) {
51                         // FIXME: do this
52                 }
53                          
54                 [MonoTODO]
55                 public SqlParameter(string parameterName, SqlDbType dbType,
56                         int size, ParameterDirection direction, 
57                         bool isNullable, byte precision,
58                         byte scale, string sourceColumn,
59                         DataRowVersion sourceVersion, object value) {
60                         // FIXME: do this
61                 }
62
63
64                 [MonoTODO]
65                 public DbType DbType {
66                         get { 
67                                 throw new NotImplementedException (); 
68                         }
69                         set { 
70                                 throw new NotImplementedException (); 
71                         }
72                 }
73
74                 [MonoTODO]
75                 public ParameterDirection Direction {
76                         get { 
77                                 throw new NotImplementedException (); 
78                         }
79                         set { 
80                                 throw new NotImplementedException (); 
81                         }
82                 }
83
84                 [MonoTODO]
85                 public bool IsNullable  {
86                         get { 
87                                 throw new NotImplementedException (); 
88                         }
89                 }
90
91                 [MonoTODO]
92                 public int Offset {
93                         get {
94                                 throw new NotImplementedException (); 
95                         }
96                         
97                         set {
98                                 throw new NotImplementedException (); 
99                         }
100                 }
101
102                 [MonoTODO]
103                 public string ParameterName {
104                         get { 
105                                 throw new NotImplementedException (); 
106                         }
107
108                         set { 
109                                 throw new NotImplementedException (); 
110                         }
111                 }
112
113                 [MonoTODO]
114                 public string SourceColumn {
115                         get { 
116                                 throw new NotImplementedException (); 
117                         }
118
119                         set { 
120                                 throw new NotImplementedException (); 
121                         }
122                 }
123
124                 [MonoTODO]
125                 public DataRowVersion SourceVersion {
126                         get { 
127                                 throw new NotImplementedException (); 
128                         }
129
130                         set { 
131                                 throw new NotImplementedException (); 
132                         }
133                 }
134                 
135                 [MonoTODO]
136                 public SqlDbType SqlDbType {
137                         get {
138                                 throw new NotImplementedException (); 
139                         }
140                         
141                         set {
142                                 throw new NotImplementedException (); 
143                         }
144                 }
145
146                 [MonoTODO]
147                 public object Value {
148                         get { 
149                                 throw new NotImplementedException (); 
150                         }
151
152                         set { 
153                                 throw new NotImplementedException (); 
154                         }
155                 }
156
157                 [MonoTODO]
158                 public byte Precision {
159                         get { 
160                                 throw new NotImplementedException (); 
161                         }
162
163                         set { 
164                                 throw new NotImplementedException (); 
165                         }
166                 }
167
168                 [MonoTODO]
169                 public byte Scale {
170                         get { 
171                                 throw new NotImplementedException (); 
172                         }
173
174                         set { 
175                                 throw new NotImplementedException (); 
176                         }
177                 }
178
179                 [MonoTODO]
180                 public int Size
181                 {
182                         get { 
183                                 throw new NotImplementedException (); 
184                         }
185
186                         set { 
187                                 throw new NotImplementedException (); 
188                         }
189                 }
190
191                 [MonoTODO]
192                 public override string ToString() {
193                         throw new NotImplementedException (); 
194                 }
195         }
196 }