Copied remotely
[mono.git] / mcs / class / System.Data / System.Data.ProviderBase / DbParameterBase.cs
1 //
2 // System.Data.ProviderBase.DbParameterBase
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 //
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 // 
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 // 
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 //
32
33 #if NET_2_0
34
35 using System.Data.Common;
36
37 namespace System.Data.ProviderBase {
38         public abstract class DbParameterBase : DbParameter
39         {
40                 #region Constructors
41         
42                 [MonoTODO]
43                 protected DbParameterBase ()
44                 {
45                 }
46
47                 [MonoTODO]
48                 protected DbParameterBase (DbParameterBase source)
49                 {
50                 }
51
52                 #endregion // Constructors
53
54                 #region Properties
55
56                 [MonoTODO]
57                 protected object CoercedValue {
58                         get { throw new NotImplementedException (); }
59                 }
60
61                 [MonoTODO]
62                 public override ParameterDirection Direction {
63                         get { throw new NotImplementedException (); }
64                         set { throw new NotImplementedException (); }
65                 }
66
67                 [MonoTODO]
68                 public override bool IsNullable {
69                         get { throw new NotImplementedException (); }
70                         set { throw new NotImplementedException (); }
71                 }
72
73                 [MonoTODO]
74                 public override int Offset {
75                         get { throw new NotImplementedException (); }
76                         set { throw new NotImplementedException (); }
77                 }
78
79                 [MonoTODO]
80                 public override string ParameterName {
81                         get { throw new NotImplementedException (); }
82                         set { throw new NotImplementedException (); }
83                 }
84
85                 [MonoTODO]
86                 public override byte Precision {
87                         get { throw new NotImplementedException (); }
88                         set { throw new NotImplementedException (); }
89                 }
90
91                 [MonoTODO]
92                 public override byte Scale {
93                         get { throw new NotImplementedException (); }
94                         set { throw new NotImplementedException (); }
95                 }
96
97                 [MonoTODO]
98                 public override int Size {
99                         get { throw new NotImplementedException (); }
100                         set { throw new NotImplementedException (); }
101                 }
102
103                 [MonoTODO]
104                 public override string SourceColumn {
105                         get { throw new NotImplementedException (); }
106                         set { throw new NotImplementedException (); }
107                 }
108
109                 [MonoTODO]
110                 public override DataRowVersion SourceVersion {
111                         get { throw new NotImplementedException (); }
112                         set { throw new NotImplementedException (); }
113                 }
114
115                 [MonoTODO]
116                 public override object Value {
117                         get { throw new NotImplementedException (); }
118                         set { throw new NotImplementedException (); }
119                 }
120
121                 #endregion // Properties
122
123                 #region Methods
124
125                 [MonoTODO]
126                 public override void CopyTo (DbParameter destination)
127                 {
128                         throw new NotImplementedException ();
129                 }
130
131                 [MonoTODO]
132                 public virtual void PropertyChanging ()
133                 {
134                         throw new NotImplementedException ();
135                 }
136
137                 [MonoTODO]
138                 protected void ResetCoercedValue ()
139                 {
140                         throw new NotImplementedException ();
141                 }
142
143                 [MonoTODO]
144                 protected void ResetScale ()
145                 {
146                         throw new NotImplementedException ();
147                 }
148
149                 [MonoTODO]
150                 protected void SetCoercedValue ()
151                 {
152                         throw new NotImplementedException ();
153                 }
154
155                 [MonoTODO]
156                 protected bool ShouldSerializePrecision ()
157                 {
158                         throw new NotImplementedException ();
159                 }
160
161                 [MonoTODO]
162                 protected bool ShouldSerializeScale ()
163                 {
164                         throw new NotImplementedException ();
165                 }
166
167                 [MonoTODO]
168                 protected bool ShouldSerializeSize ()
169                 {
170                         throw new NotImplementedException ();
171                 }
172
173                 [MonoTODO]
174                 public override string ToString ()
175                 {
176                         throw new NotImplementedException ();
177                 }
178
179                 [MonoTODO]
180                 protected virtual byte ValuePrecision (object value)
181                 {
182                         throw new NotImplementedException ();
183                 }
184
185                 [MonoTODO]
186                 protected virtual byte ValueScale (object value)
187                 {
188                         throw new NotImplementedException ();
189                 }
190
191                 [MonoTODO]
192                 protected virtual int ValueSize (object value)
193                 {
194                         throw new NotImplementedException ();
195                 }
196
197                 #endregion // Methods
198         }
199 }
200
201 #endif