2 // System.Data.InternalDataCollectionBase.cs
6 // DataColumnCollection
8 // DataRelationCollection
9 // DataConstraintCollection
14 // (C) Ximian, Inc. 2002
18 using System.Collections;
19 using System.ComponentModel;
24 /// Base class for System.Data collection classes
25 /// that are used within a DataTable object
26 /// to represent a collection of
27 /// relations, tables, rows, columns, and constraints
29 public class InternalDataCollectionBase : ICollection, IEnumerable {
33 public InternalDataCollectionBase() {
37 public virtual int Count {
43 public bool IsReadOnly {
49 public bool IsSynchronized {
56 public object SyncRoot {
63 protected virtual ArrayList List {
70 public void CopyTo(Array ar, int index) {
75 public IEnumerator GetEnumerator() {
80 ~InternalDataCollectionBase() {