2 // System.Data.ConstraintCollection.cs
7 // (C) Ximian, Inc. 2002
8 // (C) 2002 Daniel Morgan
12 using System.Collections;
13 using System.ComponentModel;
18 /// hold collection of constraints for data table
20 public class ConstraintCollection : InternalDataCollectionBase {
22 public virtual Constraint this[string name] {
25 throw new NotImplementedException ();
29 public virtual Constraint this[int index] {
32 throw new NotImplementedException ();
36 // Overloaded Add method (5 of them)
37 // to add Constraint object to the collection
40 public void Add(Constraint constraint) {
42 throw new NotImplementedException ();
46 public virtual Constraint Add(string name,
47 DataColumn column, bool primaryKey) {
49 throw new NotImplementedException ();
54 public virtual Constraint Add(string name,
55 DataColumn primaryKeyColumn,
56 DataColumn foreignKeyColumn) {
58 throw new NotImplementedException ();
62 public virtual Constraint Add(string name,
63 DataColumn[] columns, bool primaryKey) {
65 throw new NotImplementedException ();
69 public virtual Constraint Add(string name,
70 DataColumn[] primaryKeyColumns,
71 DataColumn[] foreignKeyColumns) {
73 throw new NotImplementedException ();
77 public void AddRange(Constraint[] constraints) {
79 throw new NotImplementedException ();
83 public bool CanRemove(Constraint constraint) {
85 throw new NotImplementedException ();
91 throw new NotImplementedException ();
95 public bool Contains(string name) {
96 throw new NotImplementedException ();
100 public int IndexOf(Constraint constraint) {
101 throw new NotImplementedException ();
105 public virtual int IndexOf(string constraintName) {
106 throw new NotImplementedException ();
110 public void Remove(Constraint constraint) {
111 throw new NotImplementedException ();
115 public void Remove(string name) {
116 throw new NotImplementedException ();
120 public void RemoveAt(int index) {
121 throw new NotImplementedException ();
125 public event CollectionChangeEventHandler CollectionChanged;
127 protected override ArrayList List {
130 throw new NotImplementedException ();
135 protected virtual void OnCollectionChanged(
136 CollectionChangeEventArgs ccevent) {
138 throw new NotImplementedException ();