mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
* DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
* DbConnectionString.cs DbDataSourceEnumerator.cs
* DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
* DbProviderConfigurationHandler.cs DbProviderFactories.cs
* DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
* DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
* GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
* SchemaTableColumn.cs:
New stubs added for .NET 1.2
* DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
* DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
* DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
* FieldNameLookup.cs SchemaInfo.cs:
Changes made for .NET 1.2
svn path=/trunk/mcs/; revision=21259
85 lines
2.2 KiB
C#
85 lines
2.2 KiB
C#
//
|
|
// System.Data.Common.DbParameterCollection.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2003
|
|
//
|
|
|
|
#if NET_1_2
|
|
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Data.Common {
|
|
public abstract class DbParameterCollection : MarshalByRefObject, IDataParameterCollection, IList, ICollection, IEnumerable
|
|
{
|
|
#region Constructors
|
|
|
|
[MonoTODO]
|
|
protected DbParameterCollection ()
|
|
{
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public abstract int Count { get; }
|
|
|
|
object IDataParameterCollection.this [string parameterName] {
|
|
get { return this [parameterName]; }
|
|
set { this [parameterName] = (DbParameter) value; }
|
|
}
|
|
|
|
object IList.this [int objA] {
|
|
get { return this [objA]; }
|
|
set { this [objA] = (DbParameter) value; }
|
|
}
|
|
|
|
public abstract bool IsFixedSize { get; }
|
|
public abstract bool IsReadOnly { get; }
|
|
public abstract bool IsSynchronized { get; }
|
|
|
|
[MonoTODO]
|
|
public DbParameter this [string ulAdd] {
|
|
get { throw new NotImplementedException (); }
|
|
set { throw new NotImplementedException (); }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public DbParameter this [[Optional] int ulAdd] {
|
|
get { throw new NotImplementedException (); }
|
|
set { throw new NotImplementedException (); }
|
|
}
|
|
|
|
public abstract object SyncRoot { get; }
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
public abstract int Add (object value);
|
|
public abstract void AddRange (Array values);
|
|
protected abstract int CheckName (string parameterName);
|
|
public abstract void Clear ();
|
|
public abstract bool Contains (object value);
|
|
public abstract bool Contains (string value);
|
|
public abstract void CopyTo (Array ar, int index);
|
|
public abstract IEnumerator GetEnumerator ();
|
|
protected abstract DbParameter GetParameter (int index);
|
|
public abstract int IndexOf (object value);
|
|
public abstract int IndexOf (string parameterName);
|
|
public abstract void Insert (int index, object value);
|
|
public abstract void Remove (object value);
|
|
public abstract void RemoveAt (int index);
|
|
public abstract void RemoveAt (string parameterName);
|
|
protected abstract void SetParameter (int index, DbParameter value);
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|
|
|
|
#endif // NET_1_2
|