mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* OleDbCommand.cs: Style changes, added new methods
* OleDbConnection.cs: Style changes, added new methods
* OleDbDataAdapter.cs: Implementation
* OleDbDataReader.cs: Added stubbs
* OleDbErrorCollection.cs: Added stubbs, some implementation
* OleDbParameter.cs: Style changes, added new methods
* OleDbParameterCollection.cs: Style changes, added new methods
* OleDbPermissionAttribute.cs: Style changes, added new methods
* OleDbRowUpdatedEventArgs.cs: Added stubbs
* OleDbRowUpdatingEventArgs.cs: Added stubbs
* OleDbTransaction.cs: Style changes, added new methods
* OleDbType.cs: Fixed two typos
* libgda.cs: Style changes, added new methods
svn path=/trunk/mcs/; revision=5668
68 lines
1.1 KiB
C#
68 lines
1.1 KiB
C#
//
|
|
// System.Data.OleDb.OleDbErrorCollection
|
|
//
|
|
// Authors:
|
|
// Rodrigo Moya ([email protected])
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Rodrigo Moya, 2002
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
using System.Collections;
|
|
using System.Data;
|
|
using System.Data.Common;
|
|
|
|
namespace System.Data.OleDb
|
|
{
|
|
public sealed class OleDbErrorCollection : ICollection, IEnumerable
|
|
{
|
|
#region Fields
|
|
|
|
ArrayList list;
|
|
|
|
#endregion // Fields
|
|
|
|
#region Properties
|
|
|
|
public int Count {
|
|
get { return list.Count; }
|
|
}
|
|
|
|
public OleDbError this[int index] {
|
|
get { return (OleDbError) list[index]; }
|
|
}
|
|
|
|
object ICollection.SyncRoot {
|
|
get { return list.SyncRoot; }
|
|
}
|
|
|
|
bool ICollection.IsSynchronized {
|
|
get { return list.IsSynchronized; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
[MonoTODO]
|
|
public void CopyTo (Array array, int index)
|
|
{
|
|
((OleDbError[])(list.ToArray ())).CopyTo (array, index);
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
public IEnumerator GetEnumerator ()
|
|
{
|
|
return list.GetEnumerator ();
|
|
}
|
|
|
|
IEnumerator IEnumerable.GetEnumerator ()
|
|
{
|
|
return GetEnumerator ();
|
|
}
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|