2 // System.Data.SqlClient.SqlParameter.cs
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Daniel Morgan (danmorg@sc.rr.com)
8 // (C) Ximian, Inc. 2002
11 using System.ComponentModel;
13 using System.Data.Common;
14 using System.Runtime.InteropServices;
16 namespace System.Data.SqlClient
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.
23 //public sealed class SqlParameter : MarshalByRefObject,
24 // IDbDataParameter, IDataParameter, ICloneable
25 public sealed class SqlParameter : IDbDataParameter, IDataParameter
28 public SqlParameter () {
33 public SqlParameter (string parameterName, object value) {
38 public SqlParameter(string parameterName, SqlDbType dbType) {
43 public SqlParameter(string parameterName, SqlDbType dbType,
49 public SqlParameter(string parameterName, SqlDbType dbType,
50 int size, string sourceColumn) {
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) {
65 public DbType DbType {
67 throw new NotImplementedException ();
70 throw new NotImplementedException ();
75 public ParameterDirection Direction {
77 throw new NotImplementedException ();
80 throw new NotImplementedException ();
85 public bool IsNullable {
87 throw new NotImplementedException ();
94 throw new NotImplementedException ();
98 throw new NotImplementedException ();
103 public string ParameterName {
105 throw new NotImplementedException ();
109 throw new NotImplementedException ();
114 public string SourceColumn {
116 throw new NotImplementedException ();
120 throw new NotImplementedException ();
125 public DataRowVersion SourceVersion {
127 throw new NotImplementedException ();
131 throw new NotImplementedException ();
136 public SqlDbType SqlDbType {
138 throw new NotImplementedException ();
142 throw new NotImplementedException ();
147 public object Value {
149 throw new NotImplementedException ();
153 throw new NotImplementedException ();
158 public byte Precision {
160 throw new NotImplementedException ();
164 throw new NotImplementedException ();
171 throw new NotImplementedException ();
175 throw new NotImplementedException ();
183 throw new NotImplementedException ();
187 throw new NotImplementedException ();
192 public override string ToString() {
193 throw new NotImplementedException ();