Files
mono/mcs/class/System.Data/System.Data.SqlClient/SqlParameterCollection.cs
T
Daniel Morgan a9c683d500 2002-04-20 Daniel Morgan <[email protected]>
* System.Data.OleDb: added directory - for OleDb database
provider classes

* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs
* System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data.SqlClient/SqlInfoMessageEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
* Test/TestSqlException.cs
* Test/TestSqlIsolationLevel.cs: added - more tests

* System.Data.build: modified - added new files - excludes these too

* System.Data.SqlClient/PostgresLibrary.cs - modified - comment

* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlTransaction.cs
* System.Data.SqlClient/SqlException.cs
* System.Data.SqlClient/SqlErrorCollection.cs
* System.Data.SqlClient/SqlError.cs: modified - transaction and
  exception/error handling. SqlConnection(connectionString)
  constructor should not automatically connect.

* System.Data.SqlClient/SqlDataReader.cs
* System.Data.SqlClient/SqlDataAdapter.cs
* System.Data.SqlClient/SqlParameter.cs
* System.Data.SqlClient/SqlParameterCollection.cs: modified -
added using System.ComponentModel;

* Test/TestSqlInsert.cs: modified - to use transaction

svn path=/trunk/mcs/; revision=3933
2002-04-20 20:58:45 +00:00

231 lines
4.1 KiB
C#

//
// System.Data.SqlClient.SqlParameterCollection.cs
//
// Author:
// Rodrigo Moya ([email protected])
// Daniel Morgan ([email protected])
//
// (C) Ximian, Inc 2002
//
using System;
using System.ComponentModel;
using System.Data;
using System.Collections;
namespace System.Data.SqlClient
{
/// <summary>
/// Collects all parameters relevant to a Command object
/// and their mappings to DataSet columns.
/// </summary>
// public sealed class SqlParameterCollection : MarshalByRefObject,
// IDataParameterCollection, IList, ICollection, IEnumerable
public sealed class SqlParameterCollection : IDataParameterCollection
{
[MonoTODO]
public void RemoveAt(string parameterName)
{
throw new NotImplementedException ();
}
[MonoTODO]
public int IndexOf(string parameterName)
{
throw new NotImplementedException ();
}
[MonoTODO]
public bool Contains(string parameterName)
{
throw new NotImplementedException ();
}
[MonoTODO]
public object this[string parameterName]
{
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
public IEnumerator GetEnumerator()
{
throw new NotImplementedException ();
}
[MonoTODO]
public int Add( object value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlParameter Add(SqlParameter value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlParameter Add(string parameterName, object value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlParameter Add(string parameterName, SqlDbType sqlDbType)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlParameter Add(string parameterName,
SqlDbType sqlDbType, int size)
{
throw new NotImplementedException ();
}
[MonoTODO]
public SqlParameter Add(string parameterName,
SqlDbType sqlDbType, int size, string sourceColumn)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void Clear()
{
throw new NotImplementedException ();
}
[MonoTODO]
public bool Contains(object value)
{
throw new NotImplementedException ();
}
/*
[MonoTODO]
public bool Contains(string value)
{
throw new NotImplementedException ();
}
*/
[MonoTODO]
public void CopyTo(Array array, int index)
{
throw new NotImplementedException ();
}
[MonoTODO]
public int IndexOf(object value)
{
throw new NotImplementedException ();
}
/*
[MonoTODO]
public int IndexOf(string parameterName)
{
throw new NotImplementedException ();
}
*/
[MonoTODO]
public void Insert(int index, object value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void Remove(object value)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void RemoveAt(int index)
{
throw new NotImplementedException ();
}
/*
[MonoTODO]
public void RemoveAt(string parameterName)
{
throw new NotImplementedException ();
}
*/
/*
[MonoTODO]
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDual)]
~SqlParameterCollection();
*/
[MonoTODO]
public int Count {
get {
throw new NotImplementedException ();
}
}
object IList.this[int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
[MonoTODO]
public SqlParameter this[int index] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
/*
[MonoTODO]
public SqlParameter this[string parameterName] {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
*/
bool IList.IsFixedSize {
get {
throw new NotImplementedException ();
}
}
bool IList.IsReadOnly {
get {
throw new NotImplementedException ();
}
}
bool ICollection.IsSynchronized {
get {
throw new NotImplementedException ();
}
}
object ICollection.SyncRoot {
get {
throw new NotImplementedException ();
}
}
}
}