7e9385e7e6bf317c6a965ace7f3fe92f56e7ff2d
[mono.git] / mcs / class / System.Data / System.Data / ConstraintCollection.cs
1 //
2 // System.Data.ConstraintCollection.cs
3 //
4 // Author:
5 //   Daniel Morgan
6 //
7 // (C) Ximian, Inc. 2002
8 // (C) 2002 Daniel Morgan
9 //
10
11 using System;
12 using System.Collections;
13 using System.ComponentModel;
14
15 namespace System.Data
16 {
17         /// <summary>
18         /// hold collection of constraints for data table
19         /// </summary>
20         public class ConstraintCollection : InternalDataCollectionBase {
21
22                 public virtual Constraint this[string name] {
23                         [MonoTODO]
24                         get {
25                                 throw new NotImplementedException ();
26                         }
27                 }
28                 
29                 public virtual Constraint this[int index] {
30                         [MonoTODO]
31                         get {
32                                 throw new NotImplementedException ();
33                         }
34                 }
35
36                 // Overloaded Add method (5 of them)
37                 // to add Constraint object to the collection
38
39                 [MonoTODO]
40                 public void Add(Constraint constraint) {
41                         
42                         throw new NotImplementedException ();
43                 }
44
45                 [MonoTODO]
46                 public virtual Constraint Add(string name,
47                         DataColumn column, bool primaryKey) {
48
49                         throw new NotImplementedException ();
50
51                 }
52
53                 [MonoTODO]
54                 public virtual Constraint Add(string name,
55                         DataColumn primaryKeyColumn,
56                         DataColumn foreignKeyColumn) {
57
58                         throw new NotImplementedException ();
59                 }
60
61                 [MonoTODO]
62                 public virtual Constraint Add(string name,
63                         DataColumn[] columns, bool primaryKey) {
64
65                         throw new NotImplementedException ();
66                 }
67
68                 [MonoTODO]
69                 public virtual Constraint Add(string name,
70                         DataColumn[] primaryKeyColumns,
71                         DataColumn[] foreignKeyColumns) {
72
73                         throw new NotImplementedException ();
74                 }
75
76                 [MonoTODO]
77                 public void AddRange(Constraint[] constraints) {
78
79                         throw new NotImplementedException ();
80                 }
81
82                 [MonoTODO]
83                 public bool CanRemove(Constraint constraint) {
84
85                         throw new NotImplementedException ();
86                 }
87
88                 [MonoTODO]
89                 public void Clear() {
90                         
91                         throw new NotImplementedException ();
92                 }
93
94                 [MonoTODO]
95                 public bool Contains(string name) {
96                         throw new NotImplementedException ();
97                 }
98
99                 [MonoTODO]
100                 public int IndexOf(Constraint constraint) {
101                         throw new NotImplementedException ();
102                 }
103
104                 [MonoTODO]
105                 public virtual int IndexOf(string constraintName) {
106                         throw new NotImplementedException ();
107                 }
108
109                 [MonoTODO]
110                 public void Remove(Constraint constraint) {
111                         throw new NotImplementedException ();
112                 }
113
114                 [MonoTODO]
115                 public void Remove(string name) {
116                         throw new NotImplementedException ();
117                 }
118
119                 [MonoTODO]
120                 public void RemoveAt(int index) {
121                         throw new NotImplementedException ();
122                 }
123
124                 [MonoTODO]
125                 public event CollectionChangeEventHandler CollectionChanged;
126
127                 protected override ArrayList List {
128                         [MonoTODO]
129                         get{
130                                 throw new NotImplementedException ();
131                         }
132                 }
133
134                 [MonoTODO]
135                 protected virtual void OnCollectionChanged(
136                         CollectionChangeEventArgs ccevent) {
137
138                         throw new NotImplementedException ();
139                 }
140         }
141 }