2 // System.Data.DataViewManager
5 // Rodrigo Moya (rodrigo@ximian.com)
7 // (C) Ximian, Inc. 2002
10 using System.Collections;
11 using System.ComponentModel;
16 /// Contains a default DataViewSettingCollection for each DataTable in a DataSet.
18 public class DataViewManager : MarshalByValueComponent
19 // IBindingList, ICollection, IList, ITypedList, IEnumerable
21 private DataSet dataSet;
23 public DataViewManager () {
27 public DataViewManager (DataSet ds) {
32 public DataView CreateDataView (DataTable table) {
33 return new DataView (table);
36 protected virtual void OnListChanged (ListChangedEventArgs e) {
39 protected virtual void RelationCollectionChanged (
41 CollectionChangeEventArgs e) {
44 protected virtual void TableCollectionChanged (object sender,
45 CollectionChangeEventArgs e) {
48 public DataSet DataSet {
58 public string DataViewSettingCollectionString {
60 throw new NotImplementedException ();
63 throw new NotImplementedException ();
68 public DataViewSettingCollection DataViewSettings {
70 throw new NotImplementedException ();
74 public event ListChangedEventHandler ListChanged;