**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Data / System.Data.Sql / ISqlSetTypedData.cs
blobd46dc46ab33c9ab99fe78a1fe4d3f7a46567514e
1 //
2 // System.Data.Sql.ISqlSetTypedData
3 //
4 // Author:
5 // Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
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:
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.
33 #if NET_2_0
35 using System.Data.SqlTypes;
37 namespace System.Data.Sql {
38 public interface ISqlSetTypedData : ISetTypedData
40 #region Methods
42 void SetSqlBinary (int i, SqlBinary value);
43 void SetSqlBoolean (int i, SqlBoolean value);
44 void SetSqlByte (int i, SqlByte value);
45 void SetSqlBytes (int i, SqlBytes buffer);
46 void SetSqlBytesRef (int i, SqlBytes value);
47 void SetSqlChars (int i, SqlChars value);
48 void SetSqlCharsRef (int i, SqlChars buffer);
49 void SetSqlDate (int i, SqlDate value);
50 void SetSqlDateTime (int i, SqlDateTime value);
51 void SetSqlDecimal (int i, SqlDecimal value);
52 void SetSqlDouble (int i, SqlDouble value);
53 void SetSqlGuid (int i, SqlGuid value);
54 void SetSqlInt16 (int i, SqlInt16 value);
55 void SetSqlInt32 (int i, SqlInt32 value);
56 void SetSqlInt64 (int i, SqlInt64 value);
57 void SetSqlMoney (int i, SqlMoney value);
58 void SetSqlSingle (int i, SqlSingle value);
59 void SetSqlString (int i, SqlString value);
60 void SetSqlTime (int i, SqlTime value);
61 void SetSqlUtcDateTime (int i, SqlUtcDateTime value);
62 void SetSqlXmlReader (int i, SqlXmlReader value);
64 #endregion // Methods
68 #endif