本文整理汇总了C#中System.ComponentModel.CollectionChangeEventHandler类的典型用法代码示例。如果您正苦于以下问题:C# System.ComponentModel.CollectionChangeEventHandler类的具体用法?C# System.ComponentModel.CollectionChangeEventHandler怎么用?C# System.ComponentModel.CollectionChangeEventHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.ComponentModel.CollectionChangeEventHandler类属于命名空间,在下文中一共展示了System.ComponentModel.CollectionChangeEventHandler类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: DatasetPatrols
protected DatasetPatrols(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["Patrols"] != null)) {
this.Tables.Add(new PatrolsDataTable(ds.Tables["Patrols"]));
}
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;
}
开发者ID:WinShooter,项目名称:WinShooter-Legacy,代码行数:25,代码来源:DatasetPatrols.cs
示例2: DataSetElementaryMvts
public DataSetElementaryMvts()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:Ramazanov,项目名称:FomsNet,代码行数:7,代码来源:DataSetElementaryMvts.cs
示例3: OrdersPendingData
public OrdersPendingData()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:mrd030485,项目名称:finna-be-ninja,代码行数:7,代码来源:OrdersPendingData.cs
示例4: AdaptItKnowledgeBase
public AdaptItKnowledgeBase()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:7,代码来源:AdaptIt+KB.cs
示例5: DSUserantwortselect
public DSUserantwortselect()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:BackupTheBerlios,项目名称:questioncatalog-svn,代码行数:7,代码来源:DSUserantwortselect.cs
示例6: DSAwmoeglichkeiten
public DSAwmoeglichkeiten()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:BackupTheBerlios,项目名称:questioncatalog-svn,代码行数:7,代码来源:DSAwmoeglichkeiten.cs
示例7: EmployeeDataSet
protected EmployeeDataSet(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["employee"] != null)) {
base.Tables.Add(new employeeDataTable(ds.Tables["employee"]));
}
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.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:antklim,项目名称:consumables,代码行数:33,代码来源:EmployeeDataSet.Designer.cs
示例8: PresupuestoIngreso
public PresupuestoIngreso()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:yesashii,项目名称:upa,代码行数:7,代码来源:PresupuestoIngreso.cs
示例9: dstblEnvironmentalPlanning
public dstblEnvironmentalPlanning()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:nbadw,项目名称:old_data_entry,代码行数:7,代码来源:dstblEnvironmentalPlanning.cs
示例10: MonkeyDataSet
public MonkeyDataSet()
{
InitializeClass();
System.ComponentModel.CollectionChangeEventHandler handler = new System.ComponentModel.CollectionChangeEventHandler(new System.ComponentModel.CollectionChangeEventHandler(SchemaChanged));
Tables.CollectionChanged += handler;
Relations.CollectionChanged += handler;
}
开发者ID:dotnet,项目名称:corefx,代码行数:7,代码来源:MonkeyDataSet.cs
示例11: datosPagare
public datosPagare()
{
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:yesashii,项目名称:upa,代码行数:7,代码来源:datosPagare.cs
示例12: IBDataset
public IBDataset() {
this.BeginInit();
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
开发者ID:vpjulia,项目名称:Salvia,代码行数:8,代码来源:IBDataset.Designer.cs
示例13: FullDataSet
protected FullDataSet(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["Product"] != null)) {
base.Tables.Add(new ProductDataTable(ds.Tables["Product"]));
}
if ((ds.Tables["Country"] != null)) {
base.Tables.Add(new CountryDataTable(ds.Tables["Country"]));
}
if ((ds.Tables["FarmGroup"] != null)) {
base.Tables.Add(new FarmGroupDataTable(ds.Tables["FarmGroup"]));
}
if ((ds.Tables["FarmGroupLevel2"] != null)) {
base.Tables.Add(new FarmGroupLevel2DataTable(ds.Tables["FarmGroupLevel2"]));
}
if ((ds.Tables["Manufacturer"] != null)) {
base.Tables.Add(new ManufacturerDataTable(ds.Tables["Manufacturer"]));
}
if ((ds.Tables["Packing"] != null)) {
base.Tables.Add(new PackingDataTable(ds.Tables["Packing"]));
}
if ((ds.Tables["StorageCondition"] != null)) {
base.Tables.Add(new StorageConditionDataTable(ds.Tables["StorageCondition"]));
}
if ((ds.Tables["Unit"] != null)) {
base.Tables.Add(new UnitDataTable(ds.Tables["Unit"]));
}
if ((ds.Tables["Substance"] != null)) {
base.Tables.Add(new SubstanceDataTable(ds.Tables["Substance"]));
}
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.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
this.InitExpressions();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:vpjulia,项目名称:Salvia,代码行数:58,代码来源:FullDataSet.Designer.cs
示例14: NorthwindDataSet
protected NorthwindDataSet(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["Products"] != null)) {
base.Tables.Add(new ProductsDataTable(ds.Tables["Products"]));
}
if ((ds.Tables["Orders"] != null)) {
base.Tables.Add(new OrdersDataTable(ds.Tables["Orders"]));
}
if ((ds.Tables["Suppliers"] != null)) {
base.Tables.Add(new SuppliersDataTable(ds.Tables["Suppliers"]));
}
if ((ds.Tables["Shippers"] != null)) {
base.Tables.Add(new ShippersDataTable(ds.Tables["Shippers"]));
}
if ((ds.Tables["Customers"] != null)) {
base.Tables.Add(new CustomersDataTable(ds.Tables["Customers"]));
}
if ((ds.Tables["Categories"] != null)) {
base.Tables.Add(new CategoriesDataTable(ds.Tables["Categories"]));
}
if ((ds.Tables["Order Details"] != null)) {
base.Tables.Add(new Order_DetailsDataTable(ds.Tables["Order Details"]));
}
if ((ds.Tables["Employees"] != null)) {
base.Tables.Add(new EmployeesDataTable(ds.Tables["Employees"]));
}
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.BeginInit();
this.InitClass();
this.EndInit();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:BackupTheBerlios,项目名称:mbunit-svn,代码行数:56,代码来源:NorthwindDataSet.Designer.cs
示例15: DiscourseChartDataClass
public DiscourseChartDataClass() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:6,代码来源:DiscourseChartData.cs
示例16: PACKINGLIST
protected PACKINGLIST(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["PACK_ID"] != null)) {
base.Tables.Add(new PACK_IDDataTable(ds.Tables["PACK_ID"]));
}
if ((ds.Tables["EXPORT_NOTES_HEAD"] != null)) {
base.Tables.Add(new EXPORT_NOTES_HEADDataTable(ds.Tables["EXPORT_NOTES_HEAD"]));
}
if ((ds.Tables["SHIPPING_INSTR_HEAD"] != null)) {
base.Tables.Add(new SHIPPING_INSTR_HEADDataTable(ds.Tables["SHIPPING_INSTR_HEAD"]));
}
if ((ds.Tables["PICKING_INSTR_HEAD"] != null)) {
base.Tables.Add(new PICKING_INSTR_HEADDataTable(ds.Tables["PICKING_INSTR_HEAD"]));
}
if ((ds.Tables["DELIVERY_INSTR_HEAD"] != null)) {
base.Tables.Add(new DELIVERY_INSTR_HEADDataTable(ds.Tables["DELIVERY_INSTR_HEAD"]));
}
if ((ds.Tables["SPECIAL_INSTR_HEAD"] != null)) {
base.Tables.Add(new SPECIAL_INSTR_HEADDataTable(ds.Tables["SPECIAL_INSTR_HEAD"]));
}
if ((ds.Tables["CUSTOMER_INSTR_HEAD"] != null)) {
base.Tables.Add(new CUSTOMER_INSTR_HEADDataTable(ds.Tables["CUSTOMER_INSTR_HEAD"]));
}
if ((ds.Tables["LABEL_INSTR_HEAD"] != null)) {
base.Tables.Add(new LABEL_INSTR_HEADDataTable(ds.Tables["LABEL_INSTR_HEAD"]));
}
if ((ds.Tables["CARRIER_INST_HEAD"] != null)) {
base.Tables.Add(new CARRIER_INST_HEADDataTable(ds.Tables["CARRIER_INST_HEAD"]));
}
if ((ds.Tables["INVOICE_UDF_HEAD"] != null)) {
base.Tables.Add(new INVOICE_UDF_HEADDataTable(ds.Tables["INVOICE_UDF_HEAD"]));
}
if ((ds.Tables["UDF_HEAD"] != null)) {
base.Tables.Add(new UDF_HEADDataTable(ds.Tables["UDF_HEAD"]));
}
if ((ds.Tables["UDF_HEADER"] != null)) {
base.Tables.Add(new UDF_HEADERDataTable(ds.Tables["UDF_HEADER"]));
}
if ((ds.Tables["HANDLING_INSTR_HEAD"] != null)) {
base.Tables.Add(new HANDLING_INSTR_HEADDataTable(ds.Tables["HANDLING_INSTR_HEAD"]));
}
if ((ds.Tables["PACK_ID_LINE_ITEM"] != null)) {
base.Tables.Add(new PACK_ID_LINE_ITEMDataTable(ds.Tables["PACK_ID_LINE_ITEM"]));
}
if ((ds.Tables["EXPORT_NOTES_DETAIL"] != null)) {
base.Tables.Add(new EXPORT_NOTES_DETAILDataTable(ds.Tables["EXPORT_NOTES_DETAIL"]));
}
if ((ds.Tables["SHIPPING_INSTR_DETAIL"] != null)) {
base.Tables.Add(new SHIPPING_INSTR_DETAILDataTable(ds.Tables["SHIPPING_INSTR_DETAIL"]));
}
if ((ds.Tables["PICKING_INSTR_DETAIL"] != null)) {
base.Tables.Add(new PICKING_INSTR_DETAILDataTable(ds.Tables["PICKING_INSTR_DETAIL"]));
}
if ((ds.Tables["DELIVERY_INSTR_DETAIL"] != null)) {
base.Tables.Add(new DELIVERY_INSTR_DETAILDataTable(ds.Tables["DELIVERY_INSTR_DETAIL"]));
}
if ((ds.Tables["SPECIAL_INSTR_DETAIL"] != null)) {
base.Tables.Add(new SPECIAL_INSTR_DETAILDataTable(ds.Tables["SPECIAL_INSTR_DETAIL"]));
}
if ((ds.Tables["CUSTOMER_INSTR_DETAIL"] != null)) {
base.Tables.Add(new CUSTOMER_INSTR_DETAILDataTable(ds.Tables["CUSTOMER_INSTR_DETAIL"]));
}
if ((ds.Tables["HANDLING_INSTR_DETAIL"] != null)) {
base.Tables.Add(new HANDLING_INSTR_DETAILDataTable(ds.Tables["HANDLING_INSTR_DETAIL"]));
}
if ((ds.Tables["UID_INSTR_DETAIL"] != null)) {
base.Tables.Add(new UID_INSTR_DETAILDataTable(ds.Tables["UID_INSTR_DETAIL"]));
}
if ((ds.Tables["CONFIG_INSTR_DETAIL"] != null)) {
base.Tables.Add(new CONFIG_INSTR_DETAILDataTable(ds.Tables["CONFIG_INSTR_DETAIL"]));
}
if ((ds.Tables["MAXKIT_DETAIL"] != null)) {
base.Tables.Add(new MAXKIT_DETAILDataTable(ds.Tables["MAXKIT_DETAIL"]));
}
if ((ds.Tables["UDF_DET"] != null)) {
base.Tables.Add(new UDF_DETDataTable(ds.Tables["UDF_DET"]));
}
if ((ds.Tables["UDF_DETAIL"] != null)) {
base.Tables.Add(new UDF_DETAILDataTable(ds.Tables["UDF_DETAIL"]));
}
if ((ds.Tables["HP_PN_COMPONENTS"] != null)) {
base.Tables.Add(new HP_PN_COMPONENTSDataTable(ds.Tables["HP_PN_COMPONENTS"]));
}
if ((ds.Tables["BOX"] != null)) {
base.Tables.Add(new BOXDataTable(ds.Tables["BOX"]));
}
if ((ds.Tables["SERIAL_NUM"] != null)) {
base.Tables.Add(new SERIAL_NUMDataTable(ds.Tables["SERIAL_NUM"]));
}
//.........这里部分代码省略.........
开发者ID:wra222,项目名称:testgit,代码行数:101,代码来源:Schema_Pack_List_001_20080923_bck.cs
示例17: NorthwindDataSet
protected NorthwindDataSet(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["Categories"] != null)) {
base.Tables.Add(new CategoriesDataTable(ds.Tables["Categories"]));
}
if ((ds.Tables["CustomerCustomerDemo"] != null)) {
base.Tables.Add(new CustomerCustomerDemoDataTable(ds.Tables["CustomerCustomerDemo"]));
}
if ((ds.Tables["CustomerDemographics"] != null)) {
base.Tables.Add(new CustomerDemographicsDataTable(ds.Tables["CustomerDemographics"]));
}
if ((ds.Tables["Customers"] != null)) {
base.Tables.Add(new CustomersDataTable(ds.Tables["Customers"]));
}
if ((ds.Tables["Employees"] != null)) {
base.Tables.Add(new EmployeesDataTable(ds.Tables["Employees"]));
}
if ((ds.Tables["EmployeeTerritories"] != null)) {
base.Tables.Add(new EmployeeTerritoriesDataTable(ds.Tables["EmployeeTerritories"]));
}
if ((ds.Tables["Order Details"] != null)) {
base.Tables.Add(new Order_DetailsDataTable(ds.Tables["Order Details"]));
}
if ((ds.Tables["Orders"] != null)) {
base.Tables.Add(new OrdersDataTable(ds.Tables["Orders"]));
}
if ((ds.Tables["Products"] != null)) {
base.Tables.Add(new ProductsDataTable(ds.Tables["Products"]));
}
if ((ds.Tables["Region"] != null)) {
base.Tables.Add(new RegionDataTable(ds.Tables["Region"]));
}
if ((ds.Tables["Shippers"] != null)) {
base.Tables.Add(new ShippersDataTable(ds.Tables["Shippers"]));
}
if ((ds.Tables["Suppliers"] != null)) {
base.Tables.Add(new SuppliersDataTable(ds.Tables["Suppliers"]));
}
if ((ds.Tables["Territories"] != null)) {
base.Tables.Add(new TerritoriesDataTable(ds.Tables["Territories"]));
}
if ((ds.Tables["Alphabetical list of products"] != null)) {
base.Tables.Add(new Alphabetical_list_of_productsDataTable(ds.Tables["Alphabetical list of products"]));
}
if ((ds.Tables["Category Sales for 1997"] != null)) {
base.Tables.Add(new Category_Sales_for_1997DataTable(ds.Tables["Category Sales for 1997"]));
}
if ((ds.Tables["Current Product List"] != null)) {
base.Tables.Add(new Current_Product_ListDataTable(ds.Tables["Current Product List"]));
}
if ((ds.Tables["Customer and Suppliers by City"] != null)) {
base.Tables.Add(new Customer_and_Suppliers_by_CityDataTable(ds.Tables["Customer and Suppliers by City"]));
}
if ((ds.Tables["Invoices"] != null)) {
base.Tables.Add(new InvoicesDataTable(ds.Tables["Invoices"]));
}
if ((ds.Tables["Order Details Extended"] != null)) {
base.Tables.Add(new Order_Details_ExtendedDataTable(ds.Tables["Order Details Extended"]));
}
if ((ds.Tables["Order Subtotals"] != null)) {
base.Tables.Add(new Order_SubtotalsDataTable(ds.Tables["Order Subtotals"]));
}
if ((ds.Tables["Orders Qry"] != null)) {
base.Tables.Add(new Orders_QryDataTable(ds.Tables["Orders Qry"]));
}
if ((ds.Tables["Product Sales for 1997"] != null)) {
base.Tables.Add(new Product_Sales_for_1997DataTable(ds.Tables["Product Sales for 1997"]));
}
if ((ds.Tables["Products Above Average Price"] != null)) {
base.Tables.Add(new Products_Above_Average_PriceDataTable(ds.Tables["Products Above Average Price"]));
}
if ((ds.Tables["Products by Category"] != null)) {
base.Tables.Add(new Products_by_CategoryDataTable(ds.Tables["Products by Category"]));
}
if ((ds.Tables["Quarterly Orders"] != null)) {
base.Tables.Add(new Quarterly_OrdersDataTable(ds.Tables["Quarterly Orders"]));
}
if ((ds.Tables["Sales by Category"] != null)) {
base.Tables.Add(new Sales_by_CategoryDataTable(ds.Tables["Sales by Category"]));
}
if ((ds.Tables["Sales Totals by Amount"] != null)) {
base.Tables.Add(new Sales_Totals_by_AmountDataTable(ds.Tables["Sales Totals by Amount"]));
}
if ((ds.Tables["Summary of Sales by Quarter"] != null)) {
base.Tables.Add(new Summary_of_Sales_by_QuarterDataTable(ds.Tables["Summary of Sales by Quarter"]));
}
if ((ds.Tables["Summary of Sales by Year"] != null)) {
base.Tables.Add(new Summary_of_Sales_by_YearDataTable(ds.Tables["Summary of Sales by Year"]));
}
//.........这里部分代码省略.........
开发者ID:ehershey,项目名称:development,代码行数:101,代码来源:NorthwindDataSet.Designer.cs
示例18: c00_ds
protected c00_ds(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["tbl_TaniBlg"] != null)) {
base.Tables.Add(new tbl_TaniBlgDataTable(ds.Tables["tbl_TaniBlg"]));
}
if ((ds.Tables["tblKonsultasyonBilgisi"] != null)) {
base.Tables.Add(new tblKonsultasyonBilgisiDataTable(ds.Tables["tblKonsultasyonBilgisi"]));
}
if ((ds.Tables["tbkBranj"] != null)) {
base.Tables.Add(new tbkBranjDataTable(ds.Tables["tbkBranj"]));
}
if ((ds.Tables["tbkHastaYatisBilgisi"] != null)) {
base.Tables.Add(new tbkHastaYatisBilgisiDataTable(ds.Tables["tbkHastaYatisBilgisi"]));
}
if ((ds.Tables["tblDisBilgisi"] != null)) {
base.Tables.Add(new tblDisBilgisiDataTable(ds.Tables["tblDisBilgisi"]));
}
if ((ds.Tables["tblAmeliyatveGirisimBilgisi"] != null)) {
base.Tables.Add(new tblAmeliyatveGirisimBilgisiDataTable(ds.Tables["tblAmeliyatveGirisimBilgisi"]));
}
if ((ds.Tables["tblTetkikveRadyolojiBilgisi"] != null)) {
base.Tables.Add(new tblTetkikveRadyolojiBilgisiDataTable(ds.Tables["tblTetkikveRadyolojiBilgisi"]));
}
if ((ds.Tables["tbkTahlilBilgisi"] != null)) {
base.Tables.Add(new tbkTahlilBilgisiDataTable(ds.Tables["tbkTahlilBilgisi"]));
}
if ((ds.Tables["tblDigerIslemBilgileri"] != null)) {
base.Tables.Add(new tblDigerIslemBilgileriDataTable(ds.Tables["tblDigerIslemBilgileri"]));
}
if ((ds.Tables["tblIlacBilgisi"] != null)) {
base.Tables.Add(new tblIlacBilgisiDataTable(ds.Tables["tblIlacBilgisi"]));
}
if ((ds.Tables["tblMalzemeBilgileri"] != null)) {
base.Tables.Add(new tblMalzemeBilgileriDataTable(ds.Tables["tblMalzemeBilgileri"]));
}
if ((ds.Tables["tblRaporBilgileri"] != null)) {
base.Tables.Add(new tblRaporBilgileriDataTable(ds.Tables["tblRaporBilgileri"]));
}
if ((ds.Tables["tblOdemeSorguHataBilgisi"] != null)) {
base.Tables.Add(new tblOdemeSorguHataBilgisiDataTable(ds.Tables["tblOdemeSorguHataBilgisi"]));
}
if ((ds.Tables["tblIslemFiyatBilgisi"] != null)) {
base.Tables.Add(new tblIslemFiyatBilgisiDataTable(ds.Tables["tblIslemFiyatBilgisi"]));
}
if ((ds.Tables["tblHastaTakipList"] != null)) {
base.Tables.Add(new tblHastaTakipListDataTable(ds.Tables["tblHastaTakipList"]));
}
if ((ds.Tables["tblFaturaBilgisi"] != null)) {
base.Tables.Add(new tblFaturaBilgisiDataTable(ds.Tables["tblFaturaBilgisi"]));
}
if ((ds.Tables["tblFaturaHataliKayit"] != null)) {
base.Tables.Add(new tblFaturaHataliKayitDataTable(ds.Tables["tblFaturaHataliKayit"]));
}
if ((ds.Tables["tblFaturaBasariliKayit"] != null)) {
base.Tables.Add(new tblFaturaBasariliKayitDataTable(ds.Tables["tblFaturaBasariliKayit"]));
}
if ((ds.Tables["tblTakipNumaralari"] != null)) {
base.Tables.Add(new tblTakipNumaralariDataTable(ds.Tables["tblTakipNumaralari"]));
}
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.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:AydinSakar,项目名称:Naz.Hastane,代码行数:87,代码来源:c00_ds.Designer.cs
示例19: GHTTestSuiteResult
public GHTTestSuiteResult() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:nlhepler,项目名称:mono,代码行数:6,代码来源:GHTTestSuiteResults.cs
示例20: Map_Features_DataSet
public Map_Features_DataSet() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
开发者ID:randomyed,项目名称:SobekCM-Web-Application,代码行数:6,代码来源:Map_Features_DataSet.cs
注:本文中的System.ComponentModel.CollectionChangeEventHandler类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论