2 // System.Data.ProviderBase.DbParameterBase
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
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:
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
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.
35 using System.Data.Common;
37 namespace System.Data.ProviderBase {
38 public abstract class DbParameterBase : DbParameter
43 protected DbParameterBase ()
48 protected DbParameterBase (DbParameterBase source)
52 #endregion // Constructors
57 protected object CoercedValue {
58 get { throw new NotImplementedException (); }
62 public override ParameterDirection Direction {
63 get { throw new NotImplementedException (); }
64 set { throw new NotImplementedException (); }
68 public override bool IsNullable {
69 get { throw new NotImplementedException (); }
70 set { throw new NotImplementedException (); }
74 public override int Offset {
75 get { throw new NotImplementedException (); }
76 set { throw new NotImplementedException (); }
80 public override string ParameterName {
81 get { throw new NotImplementedException (); }
82 set { throw new NotImplementedException (); }
86 public override byte Precision {
87 get { throw new NotImplementedException (); }
88 set { throw new NotImplementedException (); }
92 public override byte Scale {
93 get { throw new NotImplementedException (); }
94 set { throw new NotImplementedException (); }
98 public override int Size {
99 get { throw new NotImplementedException (); }
100 set { throw new NotImplementedException (); }
104 public override string SourceColumn {
105 get { throw new NotImplementedException (); }
106 set { throw new NotImplementedException (); }
110 public override DataRowVersion SourceVersion {
111 get { throw new NotImplementedException (); }
112 set { throw new NotImplementedException (); }
116 public override object Value {
117 get { throw new NotImplementedException (); }
118 set { throw new NotImplementedException (); }
121 #endregion // Properties
126 public override void CopyTo (DbParameter destination)
128 throw new NotImplementedException ();
132 public virtual void PropertyChanging ()
134 throw new NotImplementedException ();
138 protected void ResetCoercedValue ()
140 throw new NotImplementedException ();
144 protected void ResetScale ()
146 throw new NotImplementedException ();
150 protected void SetCoercedValue ()
152 throw new NotImplementedException ();
156 protected bool ShouldSerializePrecision ()
158 throw new NotImplementedException ();
162 protected bool ShouldSerializeScale ()
164 throw new NotImplementedException ();
168 protected bool ShouldSerializeSize ()
170 throw new NotImplementedException ();
174 public override string ToString ()
176 throw new NotImplementedException ();
180 protected virtual byte ValuePrecision (object value)
182 throw new NotImplementedException ();
186 protected virtual byte ValueScale (object value)
188 throw new NotImplementedException ();
192 protected virtual int ValueSize (object value)
194 throw new NotImplementedException ();
197 #endregion // Methods