protected dsCustOrderHist(SerializationInfo info, StreamingContext context) { string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); if ((strSchema != null)) { DataSet ds = new DataSet(); ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema))); if ((ds.Tables["CustOrderHist"] != null)) { this.Tables.Add(new CustOrderHistDataTable(ds.Tables["CustOrderHist"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, System.Data.MissingSchemaAction.Add); this.InitVars(); } else { this.InitClass(); } this.GetSerializationData(info, context); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; }
public MonkeyDataSet() { this.InitializeClass(); System.ComponentModel.CollectionChangeEventHandler handler = new System.ComponentModel.CollectionChangeEventHandler(new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged)); this.Tables.CollectionChanged += handler; this.Relations.CollectionChanged += handler; }
public dsCustOrderHist() { this.InitClass(); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; }
public BolsaSC_Info() { this.InitClass(); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; }
/// <summary> /// Initializes a new instance of the FeatureDataSet class. /// </summary> public FdoDataSet() { this.InitClass(); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); //this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; this.InitClass(); }
public MyDataSet() { this.InitializeClass(); System.ComponentModel.CollectionChangeEventHandler handler = new System.ComponentModel.CollectionChangeEventHandler(new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged)); this.Tables.CollectionChanged += handler; this.Relations.CollectionChanged += handler; }
public void remove_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler value) { throw new NotImplementedException("remove_CollectionChanged"); }
protected BolsaSC_Info(SerializationInfo info, StreamingContext context) { string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); if ((strSchema != null)) { DataSet ds = new DataSet(); ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema))); if ((ds.Tables["CategApp"] != null)) { this.Tables.Add(new CategAppDataTable(ds.Tables["CategApp"])); } if ((ds.Tables["AppOtras"] != null)) { this.Tables.Add(new AppOtrasDataTable(ds.Tables["AppOtras"])); } if ((ds.Tables["Lenguajes"] != null)) { this.Tables.Add(new LenguajesDataTable(ds.Tables["Lenguajes"])); } if ((ds.Tables["LenguajesOtros"] != null)) { this.Tables.Add(new LenguajesOtrosDataTable(ds.Tables["LenguajesOtros"])); } if ((ds.Tables["Categorias"] != null)) { this.Tables.Add(new CategoriasDataTable(ds.Tables["Categorias"])); } if ((ds.Tables["CategoriasOtras"] != null)) { this.Tables.Add(new CategoriasOtrasDataTable(ds.Tables["CategoriasOtras"])); } if ((ds.Tables["Usuario"] != null)) { this.Tables.Add(new UsuarioDataTable(ds.Tables["Usuario"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, System.Data.MissingSchemaAction.Add); this.InitVars(); } else { this.InitClass(); } this.GetSerializationData(info, context); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; }