Index: DamClients/DamLive/trunk/xsd/ProfileDefinition.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/ProfileDefinition.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/ProfileDefinition.xsd (revision 5841) @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsc =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsc (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsc (revision 5841) @@ -0,0 +1 @@ + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xss =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xss (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xss (revision 5841) @@ -0,0 +1,43 @@ + + + + + + + + + + + + + 302 + 267 + + + 302 + 355 + + + 343 + 355 + + + + + + + 490 + 266 + + + 490 + 338 + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet.cs =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet.cs (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet.cs (revision 5841) @@ -0,0 +1,24 @@ +// Copyright (C) Stichting Deltares 2024. All rights reserved. +// +// This file is part of the application DAM - UI. +// +// DAM - UI is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +namespace Deltares.Dam.Data.Xsd; + +public partial class SoilProfileDataSet {} \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/XmlCalculationParameters.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/XmlCalculationParameters.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/XmlCalculationParameters.xsd (revision 5841) @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Deltares.Dam.Data.csproj =================================================================== diff -u -r5807 -r5841 --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Deltares.Dam.Data.csproj (.../Deltares.Dam.Data.csproj) (revision 5807) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Deltares.Dam.Data.csproj (.../Deltares.Dam.Data.csproj) (revision 5841) @@ -56,43 +56,10 @@ ..\..\..\lib\DotSpatial\DotSpatial.Topology.dll - - - Designer - - - SoilbaseDataSet.xsd - - - Designer - - - SoilbaseDataSet.xsd - - - SoilProfileDataSet.xsd - - - MSDataSetGenerator - SoilProfileDataSet1.Designer.cs - Designer - - - SoilProfileDataSet.xsd - + Designer - - - - - - - - - - - + Index: DamClients/DamLive/trunk/xsd/DamMStabDocDefinition.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/DamMStabDocDefinition.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/DamMStabDocDefinition.xsd (revision 5841) @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/pi_timeseries.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/pi_timeseries.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/pi_timeseries.xsd (revision 5841) @@ -0,0 +1,279 @@ + + + + + + + + Time series data represent data collected over a given period of time at a specific location + + + + + + + Time series data represent data collected over a given period of time at a specific location + + + + + + + + Time series data represent data collected over a given period of time at a specific location + + + + + + + The version of the published interface schemas + + + + + + + Time series data represent data collected over a given period of time at a specific location + + + + + + + The header is used to specify the link to the location and the contents + + + + + + + unlimited number of events with a constant timeStep. The date, time and value attributes are + required, the quality flag is optional. When no events exists the event values are stored in a + bin file. The binary file has the same name as the xml file only the extension is "bin" instead + of "xml". The bin file contains only IEEE 32 bit reals. The length of the bin file is 4 times + the number of events for all time series in the file. The byte order in the bin file is always + Intel x86. The bin file is only allowed for equidistant time steps. + + + + + + + use this field as a notebook to add comments, suggestions description of data entered etc. + + + + + + + + + The header is used to specify the link to the location and the contents + + + + + + + Type of data, either accumulative or instantaneous. For accumulative data the time/date of the + event is the moment at which the data was gathered. + + + + + + + + + Since version 1.4 Further clarification of the time series, when the parameter, location and + time step are not enough to identify a time series. Multiple qualifiers are allowed, the order + of the qualifiers is insignificant. A different order of the qualifier ids should not map to the + an other time series. + + + + + + + + Since version 1.4 An ensemble forecast consists of a number of simulations made by making + small changes to the estimate of the current state used to initialize the simulation. These + small changes are designed to reflect the uncertainty in the estimate. Every simulation has + it's own ensembleMemberIndex When specified the ensembleMemberIndex is required + + + + + + + Since version 1.4 An ensemble forecast consists of a number of simulations made by making + small changes to the estimate of the current state used to initialize the simulation. These + small changes are designed to reflect the uncertainty in the estimate. Every simulation has + it's own ensembleMemberIndex. Ensemble id is not required when the ensembleMemberIndex is + specified + + + + + + + The timeStep element provides three choices + + + + + date/time of the first event + + + + + date/time of the last event + + + + + + Since version 1.5 date/time of the forecast. By default the forecastDate equals the start time + + + + + + + Missing value definition for this TimeSeries. Defaults to NaN if left empty + + + + + + Optional long (descriptive) name + + + + + Station name + + + + + Latitude of station + + + + + Longitude of station + + + + + X coordinate of station + + + + + Y coordinate of station + + + + + Z coordinate of station + + + + + Optional string that identifies the units used + + + + + + + + Description of (the content of) this file + + + + + + + Date on which this TimeSeries was created + + + + + + + Time on which this TimeSeries was created + + + + + + + code/description of the region. Needed if the id's can be the same in different regions. + + + + + + + + + + + + + + + + + + + + unlimited number of events with a constant timeStep. Each TimeSeries should contain at least one element + (records). The date, time and value attributes are required, the quality flag is optional. + + + + + ISO 8601 (yyyy-mm-dd) + + + + + ISO 8601 (hh:mm:ss.dsec e.g. 16:30:0.001) + + + + + + + Since version 1.3 + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet1.Designer.cs =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet1.Designer.cs (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet1.Designer.cs (revision 5841) @@ -0,0 +1,4349 @@ +// Copyright (C) Stichting Deltares 2021. All rights reserved. +// +// This file is part of the application DAM - Clients Library. +// +// DAM - UI is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace Deltares.Dam.Data.Xsd { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("SoilProfileDataSet")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class SoilProfileDataSet : global::System.Data.DataSet { + + private ODGEOMETRIESDataTable tableODGEOMETRIES; + + private ODGEOLAYERSDataTable tableODGEOLAYERS; + + private MATERIALSDataTable tableMATERIALS; + + private PARAMETERNAMESDataTable tablePARAMETERNAMES; + + private PARAMETERVALUESDataTable tablePARAMETERVALUES; + + private global::System.Data.DataRelation relationODGEOMETRIES_ODGEOLAYERS; + + private global::System.Data.DataRelation relationODGEOLAYERS_MATERIALS; + + private global::System.Data.DataRelation relationPARAMETERVALUES_MATERIALS; + + private global::System.Data.DataRelation relationPARAMETERNAMES_PARAMETERVALUES; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public SoilProfileDataSet() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected SoilProfileDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::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) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["ODGEOMETRIES"] != null)) { + base.Tables.Add(new ODGEOMETRIESDataTable(ds.Tables["ODGEOMETRIES"])); + } + if ((ds.Tables["ODGEOLAYERS"] != null)) { + base.Tables.Add(new ODGEOLAYERSDataTable(ds.Tables["ODGEOLAYERS"])); + } + if ((ds.Tables["MATERIALS"] != null)) { + base.Tables.Add(new MATERIALSDataTable(ds.Tables["MATERIALS"])); + } + if ((ds.Tables["PARAMETERNAMES"] != null)) { + base.Tables.Add(new PARAMETERNAMESDataTable(ds.Tables["PARAMETERNAMES"])); + } + if ((ds.Tables["PARAMETERVALUES"] != null)) { + base.Tables.Add(new PARAMETERVALUESDataTable(ds.Tables["PARAMETERVALUES"])); + } + 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, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ODGEOMETRIESDataTable ODGEOMETRIES { + get { + return this.tableODGEOMETRIES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ODGEOLAYERSDataTable ODGEOLAYERS { + get { + return this.tableODGEOLAYERS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public MATERIALSDataTable MATERIALS { + get { + return this.tableMATERIALS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PARAMETERNAMESDataTable PARAMETERNAMES { + get { + return this.tablePARAMETERNAMES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PARAMETERVALUESDataTable PARAMETERVALUES { + get { + return this.tablePARAMETERVALUES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataSet Clone() { + SoilProfileDataSet cln = ((SoilProfileDataSet)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["ODGEOMETRIES"] != null)) { + base.Tables.Add(new ODGEOMETRIESDataTable(ds.Tables["ODGEOMETRIES"])); + } + if ((ds.Tables["ODGEOLAYERS"] != null)) { + base.Tables.Add(new ODGEOLAYERSDataTable(ds.Tables["ODGEOLAYERS"])); + } + if ((ds.Tables["MATERIALS"] != null)) { + base.Tables.Add(new MATERIALSDataTable(ds.Tables["MATERIALS"])); + } + if ((ds.Tables["PARAMETERNAMES"] != null)) { + base.Tables.Add(new PARAMETERNAMESDataTable(ds.Tables["PARAMETERNAMES"])); + } + if ((ds.Tables["PARAMETERVALUES"] != null)) { + base.Tables.Add(new PARAMETERVALUESDataTable(ds.Tables["PARAMETERVALUES"])); + } + 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, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars(bool initTable) { + this.tableODGEOMETRIES = ((ODGEOMETRIESDataTable)(base.Tables["ODGEOMETRIES"])); + if ((initTable == true)) { + if ((this.tableODGEOMETRIES != null)) { + this.tableODGEOMETRIES.InitVars(); + } + } + this.tableODGEOLAYERS = ((ODGEOLAYERSDataTable)(base.Tables["ODGEOLAYERS"])); + if ((initTable == true)) { + if ((this.tableODGEOLAYERS != null)) { + this.tableODGEOLAYERS.InitVars(); + } + } + this.tableMATERIALS = ((MATERIALSDataTable)(base.Tables["MATERIALS"])); + if ((initTable == true)) { + if ((this.tableMATERIALS != null)) { + this.tableMATERIALS.InitVars(); + } + } + this.tablePARAMETERNAMES = ((PARAMETERNAMESDataTable)(base.Tables["PARAMETERNAMES"])); + if ((initTable == true)) { + if ((this.tablePARAMETERNAMES != null)) { + this.tablePARAMETERNAMES.InitVars(); + } + } + this.tablePARAMETERVALUES = ((PARAMETERVALUESDataTable)(base.Tables["PARAMETERVALUES"])); + if ((initTable == true)) { + if ((this.tablePARAMETERVALUES != null)) { + this.tablePARAMETERVALUES.InitVars(); + } + } + this.relationODGEOMETRIES_ODGEOLAYERS = this.Relations["ODGEOMETRIES_ODGEOLAYERS"]; + this.relationODGEOLAYERS_MATERIALS = this.Relations["ODGEOLAYERS_MATERIALS"]; + this.relationPARAMETERVALUES_MATERIALS = this.Relations["PARAMETERVALUES_MATERIALS"]; + this.relationPARAMETERNAMES_PARAMETERVALUES = this.Relations["PARAMETERNAMES_PARAMETERVALUES"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.DataSetName = "SoilProfileDataSet"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DataSet1.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableODGEOMETRIES = new ODGEOMETRIESDataTable(); + base.Tables.Add(this.tableODGEOMETRIES); + this.tableODGEOLAYERS = new ODGEOLAYERSDataTable(); + base.Tables.Add(this.tableODGEOLAYERS); + this.tableMATERIALS = new MATERIALSDataTable(); + base.Tables.Add(this.tableMATERIALS); + this.tablePARAMETERNAMES = new PARAMETERNAMESDataTable(); + base.Tables.Add(this.tablePARAMETERNAMES); + this.tablePARAMETERVALUES = new PARAMETERVALUESDataTable(); + base.Tables.Add(this.tablePARAMETERVALUES); + this.relationODGEOMETRIES_ODGEOLAYERS = new global::System.Data.DataRelation("ODGEOMETRIES_ODGEOLAYERS", new global::System.Data.DataColumn[] { + this.tableODGEOMETRIES.OD_NRColumn}, new global::System.Data.DataColumn[] { + this.tableODGEOLAYERS.OD_NRColumn}, false); + this.Relations.Add(this.relationODGEOMETRIES_ODGEOLAYERS); + this.relationODGEOLAYERS_MATERIALS = new global::System.Data.DataRelation("ODGEOLAYERS_MATERIALS", new global::System.Data.DataColumn[] { + this.tableMATERIALS.MA_NRColumn}, new global::System.Data.DataColumn[] { + this.tableODGEOLAYERS.MA_NRColumn}, false); + this.Relations.Add(this.relationODGEOLAYERS_MATERIALS); + this.relationPARAMETERVALUES_MATERIALS = new global::System.Data.DataRelation("PARAMETERVALUES_MATERIALS", new global::System.Data.DataColumn[] { + this.tableMATERIALS.MA_NRColumn}, new global::System.Data.DataColumn[] { + this.tablePARAMETERVALUES.MA_NRColumn}, false); + this.Relations.Add(this.relationPARAMETERVALUES_MATERIALS); + this.relationPARAMETERNAMES_PARAMETERVALUES = new global::System.Data.DataRelation("PARAMETERNAMES_PARAMETERVALUES", new global::System.Data.DataColumn[] { + this.tablePARAMETERNAMES.PN_NRColumn}, new global::System.Data.DataColumn[] { + this.tablePARAMETERVALUES.PN_NRColumn}, false); + this.Relations.Add(this.relationPARAMETERNAMES_PARAMETERVALUES); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeODGEOMETRIES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeODGEOLAYERS() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializeMATERIALS() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializePARAMETERNAMES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private bool ShouldSerializePARAMETERVALUES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void ODGEOMETRIESRowChangeEventHandler(object sender, ODGEOMETRIESRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void ODGEOLAYERSRowChangeEventHandler(object sender, ODGEOLAYERSRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void MATERIALSRowChangeEventHandler(object sender, MATERIALSRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void PARAMETERNAMESRowChangeEventHandler(object sender, PARAMETERNAMESRowChangeEvent e); + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public delegate void PARAMETERVALUESRowChangeEventHandler(object sender, PARAMETERVALUESRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ODGEOMETRIESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOD_NR; + + private global::System.Data.DataColumn columnOD_NAME; + + private global::System.Data.DataColumn columnOD_DESCR; + + private global::System.Data.DataColumn columnOD_RDX; + + private global::System.Data.DataColumn columnOD_RDY; + + private global::System.Data.DataColumn columnOD_CPTNR; + + private global::System.Data.DataColumn columnOD_BORINGNR; + + private global::System.Data.DataColumn columnOD_GEOL_ZONE; + + private global::System.Data.DataColumn columnOD_CHANCE_OCCUR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESDataTable() { + this.TableName = "ODGEOMETRIES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal ODGEOMETRIESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected ODGEOMETRIESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_NRColumn { + get { + return this.columnOD_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_NAMEColumn { + get { + return this.columnOD_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_DESCRColumn { + get { + return this.columnOD_DESCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_RDXColumn { + get { + return this.columnOD_RDX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_RDYColumn { + get { + return this.columnOD_RDY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_CPTNRColumn { + get { + return this.columnOD_CPTNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_BORINGNRColumn { + get { + return this.columnOD_BORINGNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_GEOL_ZONEColumn { + get { + return this.columnOD_GEOL_ZONE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_CHANCE_OCCURColumn { + get { + return this.columnOD_CHANCE_OCCUR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow this[int index] { + get { + return ((ODGEOMETRIESRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddODGEOMETRIESRow(ODGEOMETRIESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow AddODGEOMETRIESRow(string OD_NAME, string OD_DESCR, double OD_RDX, double OD_RDY, int OD_CPTNR, int OD_BORINGNR, int OD_GEOL_ZONE, double OD_CHANCE_OCCUR) { + ODGEOMETRIESRow rowODGEOMETRIESRow = ((ODGEOMETRIESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + OD_NAME, + OD_DESCR, + OD_RDX, + OD_RDY, + OD_CPTNR, + OD_BORINGNR, + OD_GEOL_ZONE, + OD_CHANCE_OCCUR}; + rowODGEOMETRIESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowODGEOMETRIESRow); + return rowODGEOMETRIESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow FindByOD_NR(int OD_NR) { + return ((ODGEOMETRIESRow)(this.Rows.Find(new object[] { + OD_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + ODGEOMETRIESDataTable cln = ((ODGEOMETRIESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ODGEOMETRIESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnOD_NR = base.Columns["OD_NR"]; + this.columnOD_NAME = base.Columns["OD_NAME"]; + this.columnOD_DESCR = base.Columns["OD_DESCR"]; + this.columnOD_RDX = base.Columns["OD_RDX"]; + this.columnOD_RDY = base.Columns["OD_RDY"]; + this.columnOD_CPTNR = base.Columns["OD_CPTNR"]; + this.columnOD_BORINGNR = base.Columns["OD_BORINGNR"]; + this.columnOD_GEOL_ZONE = base.Columns["OD_GEOL_ZONE"]; + this.columnOD_CHANCE_OCCUR = base.Columns["OD_CHANCE_OCCUR"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnOD_NR = new global::System.Data.DataColumn("OD_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NR); + this.columnOD_NAME = new global::System.Data.DataColumn("OD_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NAME); + this.columnOD_DESCR = new global::System.Data.DataColumn("OD_DESCR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_DESCR); + this.columnOD_RDX = new global::System.Data.DataColumn("OD_RDX", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_RDX); + this.columnOD_RDY = new global::System.Data.DataColumn("OD_RDY", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_RDY); + this.columnOD_CPTNR = new global::System.Data.DataColumn("OD_CPTNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_CPTNR); + this.columnOD_BORINGNR = new global::System.Data.DataColumn("OD_BORINGNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_BORINGNR); + this.columnOD_GEOL_ZONE = new global::System.Data.DataColumn("OD_GEOL_ZONE", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_GEOL_ZONE); + this.columnOD_CHANCE_OCCUR = new global::System.Data.DataColumn("OD_CHANCE_OCCUR", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_CHANCE_OCCUR); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOD_NR}, true)); + this.columnOD_NR.AutoIncrement = true; + this.columnOD_NR.AutoIncrementSeed = -1; + this.columnOD_NR.AutoIncrementStep = -1; + this.columnOD_NR.AllowDBNull = false; + this.columnOD_NR.ReadOnly = true; + this.columnOD_NR.Unique = true; + this.columnOD_NAME.MaxLength = 64; + this.columnOD_DESCR.MaxLength = 240; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow NewODGEOMETRIESRow() { + return ((ODGEOMETRIESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ODGEOMETRIESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ODGEOMETRIESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ODGEOMETRIESRowChanged != null)) { + this.ODGEOMETRIESRowChanged(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ODGEOMETRIESRowChanging != null)) { + this.ODGEOMETRIESRowChanging(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ODGEOMETRIESRowDeleted != null)) { + this.ODGEOMETRIESRowDeleted(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ODGEOMETRIESRowDeleting != null)) { + this.ODGEOMETRIESRowDeleting(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveODGEOMETRIESRow(ODGEOMETRIESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ODGEOMETRIESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ODGEOLAYERSDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOL_NR; + + private global::System.Data.DataColumn columnOD_NR; + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnOL_LAYERNR; + + private global::System.Data.DataColumn columnOL_LEVEL; + + private global::System.Data.DataColumn columnOL_PLATTOP; + + private global::System.Data.DataColumn columnOL_PLATBOTTOM; + + private global::System.Data.DataColumn columnOL_TOPEXCESSPP; + + private global::System.Data.DataColumn columnOL_BOTEXCESSPP; + + private global::System.Data.DataColumn columnOL_OCR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSDataTable() { + this.TableName = "ODGEOLAYERS"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal ODGEOLAYERSDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected ODGEOLAYERSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_NRColumn { + get { + return this.columnOL_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OD_NRColumn { + get { + return this.columnOD_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_LAYERNRColumn { + get { + return this.columnOL_LAYERNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_LEVELColumn { + get { + return this.columnOL_LEVEL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_PLATTOPColumn { + get { + return this.columnOL_PLATTOP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_PLATBOTTOMColumn { + get { + return this.columnOL_PLATBOTTOM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_TOPEXCESSPPColumn { + get { + return this.columnOL_TOPEXCESSPP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_BOTEXCESSPPColumn { + get { + return this.columnOL_BOTEXCESSPP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn OL_OCRColumn { + get { + return this.columnOL_OCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow this[int index] { + get { + return ((ODGEOLAYERSRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddODGEOLAYERSRow(ODGEOLAYERSRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow AddODGEOLAYERSRow(ODGEOMETRIESRow parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS, MATERIALSRow parentMATERIALSRowByODGEOLAYERS_MATERIALS, int OL_LAYERNR, double OL_LEVEL, int OL_PLATTOP, int OL_PLATBOTTOM, double OL_TOPEXCESSPP, double OL_BOTEXCESSPP, double OL_OCR) { + ODGEOLAYERSRow rowODGEOLAYERSRow = ((ODGEOLAYERSRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + null, + OL_LAYERNR, + OL_LEVEL, + OL_PLATTOP, + OL_PLATBOTTOM, + OL_TOPEXCESSPP, + OL_BOTEXCESSPP, + OL_OCR}; + if ((parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS != null)) { + columnValuesArray[1] = parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS[0]; + } + if ((parentMATERIALSRowByODGEOLAYERS_MATERIALS != null)) { + columnValuesArray[2] = parentMATERIALSRowByODGEOLAYERS_MATERIALS[0]; + } + rowODGEOLAYERSRow.ItemArray = columnValuesArray; + this.Rows.Add(rowODGEOLAYERSRow); + return rowODGEOLAYERSRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow FindByOL_NR(int OL_NR) { + return ((ODGEOLAYERSRow)(this.Rows.Find(new object[] { + OL_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + ODGEOLAYERSDataTable cln = ((ODGEOLAYERSDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new ODGEOLAYERSDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnOL_NR = base.Columns["OL_NR"]; + this.columnOD_NR = base.Columns["OD_NR"]; + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnOL_LAYERNR = base.Columns["OL_LAYERNR"]; + this.columnOL_LEVEL = base.Columns["OL_LEVEL"]; + this.columnOL_PLATTOP = base.Columns["OL_PLATTOP"]; + this.columnOL_PLATBOTTOM = base.Columns["OL_PLATBOTTOM"]; + this.columnOL_TOPEXCESSPP = base.Columns["OL_TOPEXCESSPP"]; + this.columnOL_BOTEXCESSPP = base.Columns["OL_BOTEXCESSPP"]; + this.columnOL_OCR = base.Columns["OL_OCR"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnOL_NR = new global::System.Data.DataColumn("OL_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_NR); + this.columnOD_NR = new global::System.Data.DataColumn("OD_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NR); + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnOL_LAYERNR = new global::System.Data.DataColumn("OL_LAYERNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_LAYERNR); + this.columnOL_LEVEL = new global::System.Data.DataColumn("OL_LEVEL", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_LEVEL); + this.columnOL_PLATTOP = new global::System.Data.DataColumn("OL_PLATTOP", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_PLATTOP); + this.columnOL_PLATBOTTOM = new global::System.Data.DataColumn("OL_PLATBOTTOM", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_PLATBOTTOM); + this.columnOL_TOPEXCESSPP = new global::System.Data.DataColumn("OL_TOPEXCESSPP", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_TOPEXCESSPP); + this.columnOL_BOTEXCESSPP = new global::System.Data.DataColumn("OL_BOTEXCESSPP", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_BOTEXCESSPP); + this.columnOL_OCR = new global::System.Data.DataColumn("OL_OCR", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_OCR); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOL_NR}, true)); + this.columnOL_NR.AutoIncrement = true; + this.columnOL_NR.AutoIncrementSeed = -1; + this.columnOL_NR.AutoIncrementStep = -1; + this.columnOL_NR.AllowDBNull = false; + this.columnOL_NR.ReadOnly = true; + this.columnOL_NR.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow NewODGEOLAYERSRow() { + return ((ODGEOLAYERSRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ODGEOLAYERSRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(ODGEOLAYERSRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ODGEOLAYERSRowChanged != null)) { + this.ODGEOLAYERSRowChanged(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ODGEOLAYERSRowChanging != null)) { + this.ODGEOLAYERSRowChanging(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ODGEOLAYERSRowDeleted != null)) { + this.ODGEOLAYERSRowDeleted(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ODGEOLAYERSRowDeleting != null)) { + this.ODGEOLAYERSRowDeleting(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveODGEOLAYERSRow(ODGEOLAYERSRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ODGEOLAYERSDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MATERIALSDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnMA_NAME; + + private global::System.Data.DataColumn columnMA_DESCR; + + private global::System.Data.DataColumn columnMA_INDEX; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSDataTable() { + this.TableName = "MATERIALS"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal MATERIALSDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected MATERIALSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_NAMEColumn { + get { + return this.columnMA_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_DESCRColumn { + get { + return this.columnMA_DESCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_INDEXColumn { + get { + return this.columnMA_INDEX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow this[int index] { + get { + return ((MATERIALSRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event MATERIALSRowChangeEventHandler MATERIALSRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event MATERIALSRowChangeEventHandler MATERIALSRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event MATERIALSRowChangeEventHandler MATERIALSRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event MATERIALSRowChangeEventHandler MATERIALSRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddMATERIALSRow(MATERIALSRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow AddMATERIALSRow(string MA_NAME, string MA_DESCR, int MA_INDEX) { + MATERIALSRow rowMATERIALSRow = ((MATERIALSRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + MA_NAME, + MA_DESCR, + MA_INDEX}; + rowMATERIALSRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMATERIALSRow); + return rowMATERIALSRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow FindByMA_NR(int MA_NR) { + return ((MATERIALSRow)(this.Rows.Find(new object[] { + MA_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + MATERIALSDataTable cln = ((MATERIALSDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new MATERIALSDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnMA_NAME = base.Columns["MA_NAME"]; + this.columnMA_DESCR = base.Columns["MA_DESCR"]; + this.columnMA_INDEX = base.Columns["MA_INDEX"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnMA_NAME = new global::System.Data.DataColumn("MA_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NAME); + this.columnMA_DESCR = new global::System.Data.DataColumn("MA_DESCR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_DESCR); + this.columnMA_INDEX = new global::System.Data.DataColumn("MA_INDEX", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_INDEX); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnMA_NR}, true)); + this.columnMA_NR.AutoIncrement = true; + this.columnMA_NR.AutoIncrementSeed = -1; + this.columnMA_NR.AutoIncrementStep = -1; + this.columnMA_NR.AllowDBNull = false; + this.columnMA_NR.ReadOnly = true; + this.columnMA_NR.Unique = true; + this.columnMA_NAME.MaxLength = 128; + this.columnMA_DESCR.MaxLength = 240; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow NewMATERIALSRow() { + return ((MATERIALSRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new MATERIALSRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(MATERIALSRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.MATERIALSRowChanged != null)) { + this.MATERIALSRowChanged(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.MATERIALSRowChanging != null)) { + this.MATERIALSRowChanging(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.MATERIALSRowDeleted != null)) { + this.MATERIALSRowDeleted(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.MATERIALSRowDeleting != null)) { + this.MATERIALSRowDeleting(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemoveMATERIALSRow(MATERIALSRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "MATERIALSDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PARAMETERNAMESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnPN_NR; + + private global::System.Data.DataColumn columnPN_NAME; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESDataTable() { + this.TableName = "PARAMETERNAMES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal PARAMETERNAMESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected PARAMETERNAMESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PN_NRColumn { + get { + return this.columnPN_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PN_NAMEColumn { + get { + return this.columnPN_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow this[int index] { + get { + return ((PARAMETERNAMESRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddPARAMETERNAMESRow(PARAMETERNAMESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow AddPARAMETERNAMESRow(string PN_NAME) { + PARAMETERNAMESRow rowPARAMETERNAMESRow = ((PARAMETERNAMESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + PN_NAME}; + rowPARAMETERNAMESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPARAMETERNAMESRow); + return rowPARAMETERNAMESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow FindByPN_NR(int PN_NR) { + return ((PARAMETERNAMESRow)(this.Rows.Find(new object[] { + PN_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + PARAMETERNAMESDataTable cln = ((PARAMETERNAMESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PARAMETERNAMESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnPN_NR = base.Columns["PN_NR"]; + this.columnPN_NAME = base.Columns["PN_NAME"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnPN_NR = new global::System.Data.DataColumn("PN_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NR); + this.columnPN_NAME = new global::System.Data.DataColumn("PN_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NAME); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnPN_NR}, true)); + this.columnPN_NR.AutoIncrement = true; + this.columnPN_NR.AutoIncrementSeed = -1; + this.columnPN_NR.AutoIncrementStep = -1; + this.columnPN_NR.AllowDBNull = false; + this.columnPN_NR.ReadOnly = true; + this.columnPN_NR.Unique = true; + this.columnPN_NAME.MaxLength = 64; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow NewPARAMETERNAMESRow() { + return ((PARAMETERNAMESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PARAMETERNAMESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PARAMETERNAMESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PARAMETERNAMESRowChanged != null)) { + this.PARAMETERNAMESRowChanged(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PARAMETERNAMESRowChanging != null)) { + this.PARAMETERNAMESRowChanging(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PARAMETERNAMESRowDeleted != null)) { + this.PARAMETERNAMESRowDeleted(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PARAMETERNAMESRowDeleting != null)) { + this.PARAMETERNAMESRowDeleting(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemovePARAMETERNAMESRow(PARAMETERNAMESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "PARAMETERNAMESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PARAMETERVALUESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnPV_NR; + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnPN_NR; + + private global::System.Data.DataColumn columnPV_VALUE; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESDataTable() { + this.TableName = "PARAMETERVALUES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal PARAMETERVALUESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected PARAMETERVALUESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PV_NRColumn { + get { + return this.columnPV_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PN_NRColumn { + get { + return this.columnPN_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataColumn PV_VALUEColumn { + get { + return this.columnPV_VALUE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow this[int index] { + get { + return ((PARAMETERVALUESRow)(this.Rows[index])); + } + } + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowChanging; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowChanged; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowDeleting; + + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void AddPARAMETERVALUESRow(PARAMETERVALUESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow AddPARAMETERVALUESRow(MATERIALSRow parentMATERIALSRowByPARAMETERVALUES_MATERIALS, PARAMETERNAMESRow parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES, double PV_VALUE) { + PARAMETERVALUESRow rowPARAMETERVALUESRow = ((PARAMETERVALUESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + null, + PV_VALUE}; + if ((parentMATERIALSRowByPARAMETERVALUES_MATERIALS != null)) { + columnValuesArray[1] = parentMATERIALSRowByPARAMETERVALUES_MATERIALS[0]; + } + if ((parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES != null)) { + columnValuesArray[2] = parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES[0]; + } + rowPARAMETERVALUESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPARAMETERVALUESRow); + return rowPARAMETERVALUESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow FindByPV_NR(int PV_NR) { + return ((PARAMETERVALUESRow)(this.Rows.Find(new object[] { + PV_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public override global::System.Data.DataTable Clone() { + PARAMETERVALUESDataTable cln = ((PARAMETERVALUESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataTable CreateInstance() { + return new PARAMETERVALUESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal void InitVars() { + this.columnPV_NR = base.Columns["PV_NR"]; + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnPN_NR = base.Columns["PN_NR"]; + this.columnPV_VALUE = base.Columns["PV_VALUE"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitClass() { + this.columnPV_NR = new global::System.Data.DataColumn("PV_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPV_NR); + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnPN_NR = new global::System.Data.DataColumn("PN_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NR); + this.columnPV_VALUE = new global::System.Data.DataColumn("PV_VALUE", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPV_VALUE); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnPV_NR}, true)); + this.columnPV_NR.AutoIncrement = true; + this.columnPV_NR.AutoIncrementSeed = -1; + this.columnPV_NR.AutoIncrementStep = -1; + this.columnPV_NR.AllowDBNull = false; + this.columnPV_NR.ReadOnly = true; + this.columnPV_NR.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow NewPARAMETERVALUESRow() { + return ((PARAMETERVALUESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PARAMETERVALUESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override global::System.Type GetRowType() { + return typeof(PARAMETERVALUESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PARAMETERVALUESRowChanged != null)) { + this.PARAMETERVALUESRowChanged(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PARAMETERVALUESRowChanging != null)) { + this.PARAMETERVALUESRowChanging(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PARAMETERVALUESRowDeleted != null)) { + this.PARAMETERVALUESRowDeleted(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PARAMETERVALUESRowDeleting != null)) { + this.PARAMETERVALUESRowDeleting(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void RemovePARAMETERVALUESRow(PARAMETERVALUESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "PARAMETERVALUESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ODGEOMETRIESRow : global::System.Data.DataRow { + + private ODGEOMETRIESDataTable tableODGEOMETRIES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal ODGEOMETRIESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableODGEOMETRIES = ((ODGEOMETRIESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OD_NR { + get { + return ((int)(this[this.tableODGEOMETRIES.OD_NRColumn])); + } + set { + this[this.tableODGEOMETRIES.OD_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OD_NAME { + get { + try { + return ((string)(this[this.tableODGEOMETRIES.OD_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_NAME\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string OD_DESCR { + get { + try { + return ((string)(this[this.tableODGEOMETRIES.OD_DESCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_DESCR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_DESCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OD_RDX { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_RDXColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_RDX\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_RDXColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OD_RDY { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_RDYColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_RDY\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_RDYColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OD_CPTNR { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_CPTNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_CPTNR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_CPTNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OD_BORINGNR { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_BORINGNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_BORINGNR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_BORINGNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OD_GEOL_ZONE { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_GEOL_ZONE\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OD_CHANCE_OCCUR { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_CHANCE_OCCUR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_NAMENull() { + return this.IsNull(this.tableODGEOMETRIES.OD_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_NAMENull() { + this[this.tableODGEOMETRIES.OD_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_DESCRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_DESCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_DESCRNull() { + this[this.tableODGEOMETRIES.OD_DESCRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_RDXNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_RDXColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_RDXNull() { + this[this.tableODGEOMETRIES.OD_RDXColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_RDYNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_RDYColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_RDYNull() { + this[this.tableODGEOMETRIES.OD_RDYColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_CPTNRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_CPTNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_CPTNRNull() { + this[this.tableODGEOMETRIES.OD_CPTNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_BORINGNRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_BORINGNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_BORINGNRNull() { + this[this.tableODGEOMETRIES.OD_BORINGNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_GEOL_ZONENull() { + return this.IsNull(this.tableODGEOMETRIES.OD_GEOL_ZONEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_GEOL_ZONENull() { + this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_CHANCE_OCCURNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_CHANCE_OCCURNull() { + this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow[] GetODGEOLAYERSRows() { + if ((this.Table.ChildRelations["ODGEOMETRIES_ODGEOLAYERS"] == null)) { + return new ODGEOLAYERSRow[0]; + } + else { + return ((ODGEOLAYERSRow[])(base.GetChildRows(this.Table.ChildRelations["ODGEOMETRIES_ODGEOLAYERS"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class ODGEOLAYERSRow : global::System.Data.DataRow { + + private ODGEOLAYERSDataTable tableODGEOLAYERS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal ODGEOLAYERSRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableODGEOLAYERS = ((ODGEOLAYERSDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OL_NR { + get { + return ((int)(this[this.tableODGEOLAYERS.OL_NRColumn])); + } + set { + this[this.tableODGEOLAYERS.OL_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OD_NR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OD_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_NR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OD_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MA_NR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.MA_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OL_LAYERNR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_LAYERNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_LAYERNR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_LAYERNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OL_LEVEL { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_LEVELColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_LEVEL\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_LEVELColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OL_PLATTOP { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_PLATTOPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_PLATTOP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_PLATTOPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int OL_PLATBOTTOM { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_PLATBOTTOM\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OL_TOPEXCESSPP { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_TOPEXCESSPP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OL_BOTEXCESSPP { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_BOTEXCESSPP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double OL_OCR { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_OCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_OCR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_OCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow ODGEOMETRIESRow { + get { + return ((ODGEOMETRIESRow)(this.GetParentRow(this.Table.ParentRelations["ODGEOMETRIES_ODGEOLAYERS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["ODGEOMETRIES_ODGEOLAYERS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow MATERIALSRow { + get { + return ((MATERIALSRow)(this.GetParentRow(this.Table.ParentRelations["ODGEOLAYERS_MATERIALS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["ODGEOLAYERS_MATERIALS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOD_NRNull() { + return this.IsNull(this.tableODGEOLAYERS.OD_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOD_NRNull() { + this[this.tableODGEOLAYERS.OD_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMA_NRNull() { + return this.IsNull(this.tableODGEOLAYERS.MA_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMA_NRNull() { + this[this.tableODGEOLAYERS.MA_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_LAYERNRNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_LAYERNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_LAYERNRNull() { + this[this.tableODGEOLAYERS.OL_LAYERNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_LEVELNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_LEVELColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_LEVELNull() { + this[this.tableODGEOLAYERS.OL_LEVELColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_PLATTOPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_PLATTOPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_PLATTOPNull() { + this[this.tableODGEOLAYERS.OL_PLATTOPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_PLATBOTTOMNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_PLATBOTTOMColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_PLATBOTTOMNull() { + this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_TOPEXCESSPPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_TOPEXCESSPPNull() { + this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_BOTEXCESSPPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_BOTEXCESSPPNull() { + this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsOL_OCRNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_OCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetOL_OCRNull() { + this[this.tableODGEOLAYERS.OL_OCRColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class MATERIALSRow : global::System.Data.DataRow { + + private MATERIALSDataTable tableMATERIALS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal MATERIALSRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMATERIALS = ((MATERIALSDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MA_NR { + get { + return ((int)(this[this.tableMATERIALS.MA_NRColumn])); + } + set { + this[this.tableMATERIALS.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string MA_NAME { + get { + try { + return ((string)(this[this.tableMATERIALS.MA_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NAME\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string MA_DESCR { + get { + try { + return ((string)(this[this.tableMATERIALS.MA_DESCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_DESCR\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_DESCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MA_INDEX { + get { + try { + return ((int)(this[this.tableMATERIALS.MA_INDEXColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_INDEX\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_INDEXColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMA_NAMENull() { + return this.IsNull(this.tableMATERIALS.MA_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMA_NAMENull() { + this[this.tableMATERIALS.MA_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMA_DESCRNull() { + return this.IsNull(this.tableMATERIALS.MA_DESCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMA_DESCRNull() { + this[this.tableMATERIALS.MA_DESCRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMA_INDEXNull() { + return this.IsNull(this.tableMATERIALS.MA_INDEXColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMA_INDEXNull() { + this[this.tableMATERIALS.MA_INDEXColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow[] GetODGEOLAYERSRows() { + if ((this.Table.ChildRelations["ODGEOLAYERS_MATERIALS"] == null)) { + return new ODGEOLAYERSRow[0]; + } + else { + return ((ODGEOLAYERSRow[])(base.GetChildRows(this.Table.ChildRelations["ODGEOLAYERS_MATERIALS"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow[] GetPARAMETERVALUESRows() { + if ((this.Table.ChildRelations["PARAMETERVALUES_MATERIALS"] == null)) { + return new PARAMETERVALUESRow[0]; + } + else { + return ((PARAMETERVALUESRow[])(base.GetChildRows(this.Table.ChildRelations["PARAMETERVALUES_MATERIALS"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class PARAMETERNAMESRow : global::System.Data.DataRow { + + private PARAMETERNAMESDataTable tablePARAMETERNAMES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal PARAMETERNAMESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePARAMETERNAMES = ((PARAMETERNAMESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int PN_NR { + get { + return ((int)(this[this.tablePARAMETERNAMES.PN_NRColumn])); + } + set { + this[this.tablePARAMETERNAMES.PN_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public string PN_NAME { + get { + try { + return ((string)(this[this.tablePARAMETERNAMES.PN_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PN_NAME\' in table \'PARAMETERNAMES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERNAMES.PN_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPN_NAMENull() { + return this.IsNull(this.tablePARAMETERNAMES.PN_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPN_NAMENull() { + this[this.tablePARAMETERNAMES.PN_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow[] GetPARAMETERVALUESRows() { + if ((this.Table.ChildRelations["PARAMETERNAMES_PARAMETERVALUES"] == null)) { + return new PARAMETERVALUESRow[0]; + } + else { + return ((PARAMETERVALUESRow[])(base.GetChildRows(this.Table.ChildRelations["PARAMETERNAMES_PARAMETERVALUES"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + public partial class PARAMETERVALUESRow : global::System.Data.DataRow { + + private PARAMETERVALUESDataTable tablePARAMETERVALUES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal PARAMETERVALUESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePARAMETERVALUES = ((PARAMETERVALUESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int PV_NR { + get { + return ((int)(this[this.tablePARAMETERVALUES.PV_NRColumn])); + } + set { + this[this.tablePARAMETERVALUES.PV_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int MA_NR { + get { + try { + return ((int)(this[this.tablePARAMETERVALUES.MA_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NR\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int PN_NR { + get { + try { + return ((int)(this[this.tablePARAMETERVALUES.PN_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PN_NR\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.PN_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public double PV_VALUE { + get { + try { + return ((double)(this[this.tablePARAMETERVALUES.PV_VALUEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PV_VALUE\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.PV_VALUEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow MATERIALSRow { + get { + return ((MATERIALSRow)(this.GetParentRow(this.Table.ParentRelations["PARAMETERVALUES_MATERIALS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["PARAMETERVALUES_MATERIALS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow PARAMETERNAMESRow { + get { + return ((PARAMETERNAMESRow)(this.GetParentRow(this.Table.ParentRelations["PARAMETERNAMES_PARAMETERVALUES"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["PARAMETERNAMES_PARAMETERVALUES"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsMA_NRNull() { + return this.IsNull(this.tablePARAMETERVALUES.MA_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetMA_NRNull() { + this[this.tablePARAMETERVALUES.MA_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPN_NRNull() { + return this.IsNull(this.tablePARAMETERVALUES.PN_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPN_NRNull() { + this[this.tablePARAMETERVALUES.PN_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool IsPV_VALUENull() { + return this.IsNull(this.tablePARAMETERVALUES.PV_VALUEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public void SetPV_VALUENull() { + this[this.tablePARAMETERVALUES.PV_VALUEColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class ODGEOMETRIESRowChangeEvent : global::System.EventArgs { + + private ODGEOMETRIESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRowChangeEvent(ODGEOMETRIESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class ODGEOLAYERSRowChangeEvent : global::System.EventArgs { + + private ODGEOLAYERSRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRowChangeEvent(ODGEOLAYERSRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class MATERIALSRowChangeEvent : global::System.EventArgs { + + private MATERIALSRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRowChangeEvent(MATERIALSRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class PARAMETERNAMESRowChangeEvent : global::System.EventArgs { + + private PARAMETERNAMESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRowChangeEvent(PARAMETERNAMESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public class PARAMETERVALUESRowChangeEvent : global::System.EventArgs { + + private PARAMETERVALUESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRowChangeEvent(PARAMETERVALUESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace Deltares.Dam.Data.Xsd.SoilProfileDataSetTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ODGEOMETRIESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOMETRIESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ODGEOMETRIES"; + tableMapping.ColumnMappings.Add("OD_NR", "OD_NR"); + tableMapping.ColumnMappings.Add("OD_NAME", "OD_NAME"); + tableMapping.ColumnMappings.Add("OD_DESCR", "OD_DESCR"); + tableMapping.ColumnMappings.Add("OD_RDX", "OD_RDX"); + tableMapping.ColumnMappings.Add("OD_RDY", "OD_RDY"); + tableMapping.ColumnMappings.Add("OD_CPTNR", "OD_CPTNR"); + tableMapping.ColumnMappings.Add("OD_BORINGNR", "OD_BORINGNR"); + tableMapping.ColumnMappings.Add("OD_GEOL_ZONE", "OD_GEOL_ZONE"); + tableMapping.ColumnMappings.Add("OD_CHANCE_OCCUR", "OD_CHANCE_OCCUR"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT OD_NR, OD_NAME, OD_DESCR, OD_RDX, OD_RDY, OD_CPTNR, OD_BORINGNR, OD_GEOL_Z" + + "ONE, OD_CHANCE_OCCUR FROM ODGEOMETRIES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.ODGEOMETRIESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.ODGEOMETRIESDataTable dataTable = new SoilProfileDataSet.ODGEOMETRIESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ODGEOLAYERSTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public ODGEOLAYERSTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ODGEOLAYERS"; + tableMapping.ColumnMappings.Add("OL_NR", "OL_NR"); + tableMapping.ColumnMappings.Add("OD_NR", "OD_NR"); + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("OL_LAYERNR", "OL_LAYERNR"); + tableMapping.ColumnMappings.Add("OL_LEVEL", "OL_LEVEL"); + tableMapping.ColumnMappings.Add("OL_PLATTOP", "OL_PLATTOP"); + tableMapping.ColumnMappings.Add("OL_PLATBOTTOM", "OL_PLATBOTTOM"); + tableMapping.ColumnMappings.Add("OL_TOPEXCESSPP", "OL_TOPEXCESSPP"); + tableMapping.ColumnMappings.Add("OL_BOTEXCESSPP", "OL_BOTEXCESSPP"); + tableMapping.ColumnMappings.Add("OL_OCR", "OL_OCR"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT OL_NR, OD_NR, MA_NR, OL_LAYERNR, OL_LEVEL, OL_PLATTOP, OL_PLATBOTTOM, OL_T" + + "OPEXCESSPP, OL_BOTEXCESSPP, OL_OCR FROM ODGEOLAYERS"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.ODGEOLAYERSDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.ODGEOLAYERSDataTable dataTable = new SoilProfileDataSet.ODGEOLAYERSDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class MATERIALSTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public MATERIALSTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "MATERIALS"; + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("MA_NAME", "MA_NAME"); + tableMapping.ColumnMappings.Add("MA_DESCR", "MA_DESCR"); + tableMapping.ColumnMappings.Add("MA_INDEX", "MA_INDEX"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT MA_NR, MA_NAME, MA_DESCR, MA_INDEX FROM MATERIALS"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.MATERIALSDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.MATERIALSDataTable dataTable = new SoilProfileDataSet.MATERIALSDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PARAMETERNAMESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERNAMESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "PARAMETERNAMES"; + tableMapping.ColumnMappings.Add("PN_NR", "PN_NR"); + tableMapping.ColumnMappings.Add("PN_NAME", "PN_NAME"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT PN_NR, PN_NAME FROM PARAMETERNAMES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.PARAMETERNAMESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.PARAMETERNAMESDataTable dataTable = new SoilProfileDataSet.PARAMETERNAMESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PARAMETERVALUESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public PARAMETERVALUESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "PARAMETERVALUES"; + tableMapping.ColumnMappings.Add("PV_NR", "PV_NR"); + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("PN_NR", "PN_NR"); + tableMapping.ColumnMappings.Add("PV_VALUE", "PV_VALUE"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT PV_NR, MA_NR, PN_NR, PV_VALUE FROM PARAMETERVALUES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.PARAMETERVALUESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.PARAMETERVALUESDataTable dataTable = new SoilProfileDataSet.PARAMETERVALUESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private int UpdateUpdatedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private int UpdateInsertedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private int UpdateDeletedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public virtual int UpdateAll(SoilProfileDataSet dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) { + global::System.Diagnostics.Debug.Assert((row != null)); + global::System.Data.DataRow root = row; + distance = 0; + + global::System.Collections.Generic.IDictionary traversedRows = new global::System.Collections.Generic.Dictionary(); + traversedRows[row] = row; + + global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + + if ((distance == 0)) { + traversedRows.Clear(); + traversedRows[row] = row; + parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + for ( + ; ((parent != null) + && (traversedRows.ContainsKey(parent) == false)); + ) { + distance = (distance + 1); + root = parent; + traversedRows[parent] = parent; + parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + + return root; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + int distance1 = 0; + global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1); + + int distance2 = 0; + global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2); + + if (object.ReferenceEquals(root1, root2)) { + return (this._childFirst * distance1.CompareTo(distance2)); + } + else { + global::System.Diagnostics.Debug.Assert(((root1.Table != null) + && (root2.Table != null))); + if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) { + return -1; + } + else { + return 1; + } + } + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/GenerateClasses.bat =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/GenerateClasses.bat (revision 0) +++ DamClients/DamLive/trunk/xsd/GenerateClasses.bat (revision 5841) @@ -0,0 +1,3 @@ +REM Start the Developer Command Prompt (for VS2015) and go to this directory. Then start this batchfile. +xsd /c /l:cs /n:Deltares.DamLive.Io XmlCalculationParameters.xsd +copy XmlCalculationParameters.cs ..\src\Deltares.DamLive.Io\XmlCalculationParameters.cs Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsd (revision 5841) @@ -0,0 +1,530 @@ + + + + + + + + + + + + + + + + SELECT OD_NR, OD_NAME, OD_DESCR, OD_RDX, OD_RDY, OD_CPTNR, + OD_BORINGNR, OD_GEOL_ZONE, OD_CHANCE_OCCUR FROM ODGEOMETRIES + + + + + + + + + + + + + + + + + + + + + + + + + SELECT OL_NR, OD_NR, MA_NR, OL_LAYERNR, OL_LEVEL, OL_PLATTOP, + OL_PLATBOTTOM, OL_TOPEXCESSPP, OL_BOTEXCESSPP, OL_OCR FROM ODGEOLAYERS + + + + + + + + + + + + + + + + + + + + + + + + + + SELECT MA_NR, MA_NAME, MA_DESCR, MA_INDEX FROM MATERIALS + + + + + + + + + + + + + + + + + + + + SELECT PN_NR, PN_NAME FROM PARAMETERNAMES + + + + + + + + + + + + + + + + + SELECT PV_NR, MA_NR, PN_NR, PV_VALUE FROM PARAMETERVALUES + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/pi_sharedtypes.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/pi_sharedtypes.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/pi_sharedtypes.xsd (revision 5841) @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + The timeunit element has three attributes, unit and devider and multiplier. + the unit is second, minute, hour, week, month year. + The divider attribute is optional (default = 1). + + + + + + + + + + + + + + + + + + + + + + + The timeunit element has two attributes, unit and divider. + the unit is required and can be 1, 2, 3, or 4 meaning: year, month, day and hour. + The divider attribute is optional (default = 1). + + + + + + + + + + + + + + + Example: to construct timeSteps op 5 seconds use unit 4 (hours) + and a divider of 720. For daily timeSteps use unit 2 (day) and divider 1. + + + + + + + + The geographical datum for the location data. + Presently only WGS-1984, OS 1936 and LOCAL are recognised. + LOCAL indicates a local grid. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Location ID, defined by the model + + + + + + + Content of the data (Discharge, Precipitation, VPD); defined by the model + + + + + + + The timeZone (in decimal hours shift from GMT) + e.g. -1.0 or 3.5. If not present GMT is assumed + + + + + + + + + + + + + + + + + + + + + + + + + + Type of data, either accumulative or instantaneous. + For accumulative data the time/date of the event is + the moment at which the data was gathered. + + + + + + + + Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsc =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsc (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xsc (revision 5841) @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet.Designer.cs =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet.Designer.cs (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet.Designer.cs (revision 5841) @@ -0,0 +1,3991 @@ +// Copyright (C) Stichting Deltares 2021. All rights reserved. +// +// This file is part of the application DAM - Clients Library. +// +// DAM - UI is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.3607 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +#pragma warning disable 1591 + +namespace WebApplication1 { + + + /// + ///Represents a strongly typed in-memory cache of data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] + [global::System.Xml.Serialization.XmlRootAttribute("SoilProfileDataSet")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] + public partial class SoilProfileDataSet : global::System.Data.DataSet { + + private ODGEOMETRIESDataTable tableODGEOMETRIES; + + private ODGEOLAYERSDataTable tableODGEOLAYERS; + + private MATERIALSDataTable tableMATERIALS; + + private PARAMETERNAMESDataTable tablePARAMETERNAMES; + + private PARAMETERVALUESDataTable tablePARAMETERVALUES; + + private global::System.Data.DataRelation relationODGEOMETRIES_ODGEOLAYERS; + + private global::System.Data.DataRelation relationODGEOLAYERS_MATERIALS; + + private global::System.Data.DataRelation relationPARAMETERVALUES_MATERIALS; + + private global::System.Data.DataRelation relationPARAMETERNAMES_PARAMETERVALUES; + + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public SoilProfileDataSet() { + this.BeginInit(); + this.InitClass(); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + base.Relations.CollectionChanged += schemaChangedHandler; + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected SoilProfileDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context, false) { + if ((this.IsBinarySerialized(info, context) == true)) { + this.InitVars(false); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::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) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + if ((ds.Tables["ODGEOMETRIES"] != null)) { + base.Tables.Add(new ODGEOMETRIESDataTable(ds.Tables["ODGEOMETRIES"])); + } + if ((ds.Tables["ODGEOLAYERS"] != null)) { + base.Tables.Add(new ODGEOLAYERSDataTable(ds.Tables["ODGEOLAYERS"])); + } + if ((ds.Tables["MATERIALS"] != null)) { + base.Tables.Add(new MATERIALSDataTable(ds.Tables["MATERIALS"])); + } + if ((ds.Tables["PARAMETERNAMES"] != null)) { + base.Tables.Add(new PARAMETERNAMESDataTable(ds.Tables["PARAMETERNAMES"])); + } + if ((ds.Tables["PARAMETERVALUES"] != null)) { + base.Tables.Add(new PARAMETERVALUESDataTable(ds.Tables["PARAMETERVALUES"])); + } + 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, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); + } + this.GetSerializationData(info, context); + global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); + base.Tables.CollectionChanged += schemaChangedHandler; + this.Relations.CollectionChanged += schemaChangedHandler; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ODGEOMETRIESDataTable ODGEOMETRIES { + get { + return this.tableODGEOMETRIES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public ODGEOLAYERSDataTable ODGEOLAYERS { + get { + return this.tableODGEOLAYERS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public MATERIALSDataTable MATERIALS { + get { + return this.tableMATERIALS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PARAMETERNAMESDataTable PARAMETERNAMES { + get { + return this.tablePARAMETERNAMES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public PARAMETERVALUESDataTable PARAMETERVALUES { + get { + return this.tablePARAMETERVALUES; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.BrowsableAttribute(true)] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] + public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { + get { + return this._schemaSerializationMode; + } + set { + this._schemaSerializationMode = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataTableCollection Tables { + get { + return base.Tables; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] + public new global::System.Data.DataRelationCollection Relations { + get { + return base.Relations; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void InitializeDerivedDataSet() { + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataSet Clone() { + SoilProfileDataSet cln = ((SoilProfileDataSet)(base.Clone())); + cln.InitVars(); + cln.SchemaSerializationMode = this.SchemaSerializationMode; + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeTables() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override bool ShouldSerializeRelations() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { + if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { + this.Reset(); + global::System.Data.DataSet ds = new global::System.Data.DataSet(); + ds.ReadXml(reader); + if ((ds.Tables["ODGEOMETRIES"] != null)) { + base.Tables.Add(new ODGEOMETRIESDataTable(ds.Tables["ODGEOMETRIES"])); + } + if ((ds.Tables["ODGEOLAYERS"] != null)) { + base.Tables.Add(new ODGEOLAYERSDataTable(ds.Tables["ODGEOLAYERS"])); + } + if ((ds.Tables["MATERIALS"] != null)) { + base.Tables.Add(new MATERIALSDataTable(ds.Tables["MATERIALS"])); + } + if ((ds.Tables["PARAMETERNAMES"] != null)) { + base.Tables.Add(new PARAMETERNAMESDataTable(ds.Tables["PARAMETERNAMES"])); + } + if ((ds.Tables["PARAMETERVALUES"] != null)) { + base.Tables.Add(new PARAMETERVALUESDataTable(ds.Tables["PARAMETERVALUES"])); + } + 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, global::System.Data.MissingSchemaAction.Add); + this.InitVars(); + } + else { + this.ReadXml(reader); + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { + global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); + this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); + stream.Position = 0; + return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.InitVars(true); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars(bool initTable) { + this.tableODGEOMETRIES = ((ODGEOMETRIESDataTable)(base.Tables["ODGEOMETRIES"])); + if ((initTable == true)) { + if ((this.tableODGEOMETRIES != null)) { + this.tableODGEOMETRIES.InitVars(); + } + } + this.tableODGEOLAYERS = ((ODGEOLAYERSDataTable)(base.Tables["ODGEOLAYERS"])); + if ((initTable == true)) { + if ((this.tableODGEOLAYERS != null)) { + this.tableODGEOLAYERS.InitVars(); + } + } + this.tableMATERIALS = ((MATERIALSDataTable)(base.Tables["MATERIALS"])); + if ((initTable == true)) { + if ((this.tableMATERIALS != null)) { + this.tableMATERIALS.InitVars(); + } + } + this.tablePARAMETERNAMES = ((PARAMETERNAMESDataTable)(base.Tables["PARAMETERNAMES"])); + if ((initTable == true)) { + if ((this.tablePARAMETERNAMES != null)) { + this.tablePARAMETERNAMES.InitVars(); + } + } + this.tablePARAMETERVALUES = ((PARAMETERVALUESDataTable)(base.Tables["PARAMETERVALUES"])); + if ((initTable == true)) { + if ((this.tablePARAMETERVALUES != null)) { + this.tablePARAMETERVALUES.InitVars(); + } + } + this.relationODGEOMETRIES_ODGEOLAYERS = this.Relations["ODGEOMETRIES_ODGEOLAYERS"]; + this.relationODGEOLAYERS_MATERIALS = this.Relations["ODGEOLAYERS_MATERIALS"]; + this.relationPARAMETERVALUES_MATERIALS = this.Relations["PARAMETERVALUES_MATERIALS"]; + this.relationPARAMETERNAMES_PARAMETERVALUES = this.Relations["PARAMETERNAMES_PARAMETERVALUES"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.DataSetName = "SoilProfileDataSet"; + this.Prefix = ""; + this.Namespace = "http://tempuri.org/DataSet1.xsd"; + this.EnforceConstraints = true; + this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; + this.tableODGEOMETRIES = new ODGEOMETRIESDataTable(); + base.Tables.Add(this.tableODGEOMETRIES); + this.tableODGEOLAYERS = new ODGEOLAYERSDataTable(); + base.Tables.Add(this.tableODGEOLAYERS); + this.tableMATERIALS = new MATERIALSDataTable(); + base.Tables.Add(this.tableMATERIALS); + this.tablePARAMETERNAMES = new PARAMETERNAMESDataTable(); + base.Tables.Add(this.tablePARAMETERNAMES); + this.tablePARAMETERVALUES = new PARAMETERVALUESDataTable(); + base.Tables.Add(this.tablePARAMETERVALUES); + this.relationODGEOMETRIES_ODGEOLAYERS = new global::System.Data.DataRelation("ODGEOMETRIES_ODGEOLAYERS", new global::System.Data.DataColumn[] { + this.tableODGEOMETRIES.OD_NRColumn}, new global::System.Data.DataColumn[] { + this.tableODGEOLAYERS.OD_NRColumn}, false); + this.Relations.Add(this.relationODGEOMETRIES_ODGEOLAYERS); + this.relationODGEOLAYERS_MATERIALS = new global::System.Data.DataRelation("ODGEOLAYERS_MATERIALS", new global::System.Data.DataColumn[] { + this.tableMATERIALS.MA_NRColumn}, new global::System.Data.DataColumn[] { + this.tableODGEOLAYERS.MA_NRColumn}, false); + this.Relations.Add(this.relationODGEOLAYERS_MATERIALS); + this.relationPARAMETERVALUES_MATERIALS = new global::System.Data.DataRelation("PARAMETERVALUES_MATERIALS", new global::System.Data.DataColumn[] { + this.tableMATERIALS.MA_NRColumn}, new global::System.Data.DataColumn[] { + this.tablePARAMETERVALUES.MA_NRColumn}, false); + this.Relations.Add(this.relationPARAMETERVALUES_MATERIALS); + this.relationPARAMETERNAMES_PARAMETERVALUES = new global::System.Data.DataRelation("PARAMETERNAMES_PARAMETERVALUES", new global::System.Data.DataColumn[] { + this.tablePARAMETERNAMES.PN_NRColumn}, new global::System.Data.DataColumn[] { + this.tablePARAMETERVALUES.PN_NRColumn}, false); + this.Relations.Add(this.relationPARAMETERNAMES_PARAMETERVALUES); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeODGEOMETRIES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeODGEOLAYERS() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializeMATERIALS() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializePARAMETERNAMES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializePARAMETERVALUES() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { + if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { + this.InitVars(); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); + any.Namespace = ds.Namespace; + sequence.Items.Add(any); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + + public delegate void ODGEOMETRIESRowChangeEventHandler(object sender, ODGEOMETRIESRowChangeEvent e); + + public delegate void ODGEOLAYERSRowChangeEventHandler(object sender, ODGEOLAYERSRowChangeEvent e); + + public delegate void MATERIALSRowChangeEventHandler(object sender, MATERIALSRowChangeEvent e); + + public delegate void PARAMETERNAMESRowChangeEventHandler(object sender, PARAMETERNAMESRowChangeEvent e); + + public delegate void PARAMETERVALUESRowChangeEventHandler(object sender, PARAMETERVALUESRowChangeEvent e); + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ODGEOMETRIESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOD_NR; + + private global::System.Data.DataColumn columnOD_NAME; + + private global::System.Data.DataColumn columnOD_DESCR; + + private global::System.Data.DataColumn columnOD_RDX; + + private global::System.Data.DataColumn columnOD_RDY; + + private global::System.Data.DataColumn columnOD_CPTNR; + + private global::System.Data.DataColumn columnOD_BORINGNR; + + private global::System.Data.DataColumn columnOD_GEOL_ZONE; + + private global::System.Data.DataColumn columnOD_CHANCE_OCCUR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESDataTable() { + this.TableName = "ODGEOMETRIES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ODGEOMETRIESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected ODGEOMETRIESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_NRColumn { + get { + return this.columnOD_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_NAMEColumn { + get { + return this.columnOD_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_DESCRColumn { + get { + return this.columnOD_DESCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_RDXColumn { + get { + return this.columnOD_RDX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_RDYColumn { + get { + return this.columnOD_RDY; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_CPTNRColumn { + get { + return this.columnOD_CPTNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_BORINGNRColumn { + get { + return this.columnOD_BORINGNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_GEOL_ZONEColumn { + get { + return this.columnOD_GEOL_ZONE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_CHANCE_OCCURColumn { + get { + return this.columnOD_CHANCE_OCCUR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow this[int index] { + get { + return ((ODGEOMETRIESRow)(this.Rows[index])); + } + } + + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowChanging; + + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowChanged; + + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowDeleting; + + public event ODGEOMETRIESRowChangeEventHandler ODGEOMETRIESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddODGEOMETRIESRow(ODGEOMETRIESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow AddODGEOMETRIESRow(string OD_NAME, string OD_DESCR, double OD_RDX, double OD_RDY, int OD_CPTNR, int OD_BORINGNR, int OD_GEOL_ZONE, double OD_CHANCE_OCCUR) { + ODGEOMETRIESRow rowODGEOMETRIESRow = ((ODGEOMETRIESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + OD_NAME, + OD_DESCR, + OD_RDX, + OD_RDY, + OD_CPTNR, + OD_BORINGNR, + OD_GEOL_ZONE, + OD_CHANCE_OCCUR}; + rowODGEOMETRIESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowODGEOMETRIESRow); + return rowODGEOMETRIESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow FindByOD_NR(int OD_NR) { + return ((ODGEOMETRIESRow)(this.Rows.Find(new object[] { + OD_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + ODGEOMETRIESDataTable cln = ((ODGEOMETRIESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new ODGEOMETRIESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnOD_NR = base.Columns["OD_NR"]; + this.columnOD_NAME = base.Columns["OD_NAME"]; + this.columnOD_DESCR = base.Columns["OD_DESCR"]; + this.columnOD_RDX = base.Columns["OD_RDX"]; + this.columnOD_RDY = base.Columns["OD_RDY"]; + this.columnOD_CPTNR = base.Columns["OD_CPTNR"]; + this.columnOD_BORINGNR = base.Columns["OD_BORINGNR"]; + this.columnOD_GEOL_ZONE = base.Columns["OD_GEOL_ZONE"]; + this.columnOD_CHANCE_OCCUR = base.Columns["OD_CHANCE_OCCUR"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnOD_NR = new global::System.Data.DataColumn("OD_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NR); + this.columnOD_NAME = new global::System.Data.DataColumn("OD_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NAME); + this.columnOD_DESCR = new global::System.Data.DataColumn("OD_DESCR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_DESCR); + this.columnOD_RDX = new global::System.Data.DataColumn("OD_RDX", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_RDX); + this.columnOD_RDY = new global::System.Data.DataColumn("OD_RDY", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_RDY); + this.columnOD_CPTNR = new global::System.Data.DataColumn("OD_CPTNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_CPTNR); + this.columnOD_BORINGNR = new global::System.Data.DataColumn("OD_BORINGNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_BORINGNR); + this.columnOD_GEOL_ZONE = new global::System.Data.DataColumn("OD_GEOL_ZONE", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_GEOL_ZONE); + this.columnOD_CHANCE_OCCUR = new global::System.Data.DataColumn("OD_CHANCE_OCCUR", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_CHANCE_OCCUR); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOD_NR}, true)); + this.columnOD_NR.AutoIncrement = true; + this.columnOD_NR.AutoIncrementSeed = -1; + this.columnOD_NR.AutoIncrementStep = -1; + this.columnOD_NR.AllowDBNull = false; + this.columnOD_NR.ReadOnly = true; + this.columnOD_NR.Unique = true; + this.columnOD_NAME.MaxLength = 64; + this.columnOD_DESCR.MaxLength = 240; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow NewODGEOMETRIESRow() { + return ((ODGEOMETRIESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ODGEOMETRIESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(ODGEOMETRIESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ODGEOMETRIESRowChanged != null)) { + this.ODGEOMETRIESRowChanged(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ODGEOMETRIESRowChanging != null)) { + this.ODGEOMETRIESRowChanging(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ODGEOMETRIESRowDeleted != null)) { + this.ODGEOMETRIESRowDeleted(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ODGEOMETRIESRowDeleting != null)) { + this.ODGEOMETRIESRowDeleting(this, new ODGEOMETRIESRowChangeEvent(((ODGEOMETRIESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveODGEOMETRIESRow(ODGEOMETRIESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ODGEOMETRIESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class ODGEOLAYERSDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnOL_NR; + + private global::System.Data.DataColumn columnOD_NR; + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnOL_LAYERNR; + + private global::System.Data.DataColumn columnOL_LEVEL; + + private global::System.Data.DataColumn columnOL_PLATTOP; + + private global::System.Data.DataColumn columnOL_PLATBOTTOM; + + private global::System.Data.DataColumn columnOL_TOPEXCESSPP; + + private global::System.Data.DataColumn columnOL_BOTEXCESSPP; + + private global::System.Data.DataColumn columnOL_OCR; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSDataTable() { + this.TableName = "ODGEOLAYERS"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ODGEOLAYERSDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected ODGEOLAYERSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_NRColumn { + get { + return this.columnOL_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OD_NRColumn { + get { + return this.columnOD_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_LAYERNRColumn { + get { + return this.columnOL_LAYERNR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_LEVELColumn { + get { + return this.columnOL_LEVEL; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_PLATTOPColumn { + get { + return this.columnOL_PLATTOP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_PLATBOTTOMColumn { + get { + return this.columnOL_PLATBOTTOM; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_TOPEXCESSPPColumn { + get { + return this.columnOL_TOPEXCESSPP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_BOTEXCESSPPColumn { + get { + return this.columnOL_BOTEXCESSPP; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn OL_OCRColumn { + get { + return this.columnOL_OCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow this[int index] { + get { + return ((ODGEOLAYERSRow)(this.Rows[index])); + } + } + + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowChanging; + + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowChanged; + + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowDeleting; + + public event ODGEOLAYERSRowChangeEventHandler ODGEOLAYERSRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddODGEOLAYERSRow(ODGEOLAYERSRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow AddODGEOLAYERSRow(ODGEOMETRIESRow parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS, MATERIALSRow parentMATERIALSRowByODGEOLAYERS_MATERIALS, int OL_LAYERNR, double OL_LEVEL, int OL_PLATTOP, int OL_PLATBOTTOM, double OL_TOPEXCESSPP, double OL_BOTEXCESSPP, double OL_OCR) { + ODGEOLAYERSRow rowODGEOLAYERSRow = ((ODGEOLAYERSRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + null, + OL_LAYERNR, + OL_LEVEL, + OL_PLATTOP, + OL_PLATBOTTOM, + OL_TOPEXCESSPP, + OL_BOTEXCESSPP, + OL_OCR}; + if ((parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS != null)) { + columnValuesArray[1] = parentODGEOMETRIESRowByODGEOMETRIES_ODGEOLAYERS[0]; + } + if ((parentMATERIALSRowByODGEOLAYERS_MATERIALS != null)) { + columnValuesArray[2] = parentMATERIALSRowByODGEOLAYERS_MATERIALS[0]; + } + rowODGEOLAYERSRow.ItemArray = columnValuesArray; + this.Rows.Add(rowODGEOLAYERSRow); + return rowODGEOLAYERSRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow FindByOL_NR(int OL_NR) { + return ((ODGEOLAYERSRow)(this.Rows.Find(new object[] { + OL_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + ODGEOLAYERSDataTable cln = ((ODGEOLAYERSDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new ODGEOLAYERSDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnOL_NR = base.Columns["OL_NR"]; + this.columnOD_NR = base.Columns["OD_NR"]; + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnOL_LAYERNR = base.Columns["OL_LAYERNR"]; + this.columnOL_LEVEL = base.Columns["OL_LEVEL"]; + this.columnOL_PLATTOP = base.Columns["OL_PLATTOP"]; + this.columnOL_PLATBOTTOM = base.Columns["OL_PLATBOTTOM"]; + this.columnOL_TOPEXCESSPP = base.Columns["OL_TOPEXCESSPP"]; + this.columnOL_BOTEXCESSPP = base.Columns["OL_BOTEXCESSPP"]; + this.columnOL_OCR = base.Columns["OL_OCR"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnOL_NR = new global::System.Data.DataColumn("OL_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_NR); + this.columnOD_NR = new global::System.Data.DataColumn("OD_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOD_NR); + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnOL_LAYERNR = new global::System.Data.DataColumn("OL_LAYERNR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_LAYERNR); + this.columnOL_LEVEL = new global::System.Data.DataColumn("OL_LEVEL", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_LEVEL); + this.columnOL_PLATTOP = new global::System.Data.DataColumn("OL_PLATTOP", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_PLATTOP); + this.columnOL_PLATBOTTOM = new global::System.Data.DataColumn("OL_PLATBOTTOM", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_PLATBOTTOM); + this.columnOL_TOPEXCESSPP = new global::System.Data.DataColumn("OL_TOPEXCESSPP", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_TOPEXCESSPP); + this.columnOL_BOTEXCESSPP = new global::System.Data.DataColumn("OL_BOTEXCESSPP", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_BOTEXCESSPP); + this.columnOL_OCR = new global::System.Data.DataColumn("OL_OCR", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnOL_OCR); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnOL_NR}, true)); + this.columnOL_NR.AutoIncrement = true; + this.columnOL_NR.AutoIncrementSeed = -1; + this.columnOL_NR.AutoIncrementStep = -1; + this.columnOL_NR.AllowDBNull = false; + this.columnOL_NR.ReadOnly = true; + this.columnOL_NR.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow NewODGEOLAYERSRow() { + return ((ODGEOLAYERSRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new ODGEOLAYERSRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(ODGEOLAYERSRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.ODGEOLAYERSRowChanged != null)) { + this.ODGEOLAYERSRowChanged(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.ODGEOLAYERSRowChanging != null)) { + this.ODGEOLAYERSRowChanging(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.ODGEOLAYERSRowDeleted != null)) { + this.ODGEOLAYERSRowDeleted(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.ODGEOLAYERSRowDeleting != null)) { + this.ODGEOLAYERSRowDeleting(this, new ODGEOLAYERSRowChangeEvent(((ODGEOLAYERSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveODGEOLAYERSRow(ODGEOLAYERSRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "ODGEOLAYERSDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class MATERIALSDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnMA_NAME; + + private global::System.Data.DataColumn columnMA_DESCR; + + private global::System.Data.DataColumn columnMA_INDEX; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSDataTable() { + this.TableName = "MATERIALS"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MATERIALSDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected MATERIALSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_NAMEColumn { + get { + return this.columnMA_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_DESCRColumn { + get { + return this.columnMA_DESCR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_INDEXColumn { + get { + return this.columnMA_INDEX; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow this[int index] { + get { + return ((MATERIALSRow)(this.Rows[index])); + } + } + + public event MATERIALSRowChangeEventHandler MATERIALSRowChanging; + + public event MATERIALSRowChangeEventHandler MATERIALSRowChanged; + + public event MATERIALSRowChangeEventHandler MATERIALSRowDeleting; + + public event MATERIALSRowChangeEventHandler MATERIALSRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddMATERIALSRow(MATERIALSRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow AddMATERIALSRow(string MA_NAME, string MA_DESCR, int MA_INDEX) { + MATERIALSRow rowMATERIALSRow = ((MATERIALSRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + MA_NAME, + MA_DESCR, + MA_INDEX}; + rowMATERIALSRow.ItemArray = columnValuesArray; + this.Rows.Add(rowMATERIALSRow); + return rowMATERIALSRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow FindByMA_NR(int MA_NR) { + return ((MATERIALSRow)(this.Rows.Find(new object[] { + MA_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + MATERIALSDataTable cln = ((MATERIALSDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new MATERIALSDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnMA_NAME = base.Columns["MA_NAME"]; + this.columnMA_DESCR = base.Columns["MA_DESCR"]; + this.columnMA_INDEX = base.Columns["MA_INDEX"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnMA_NAME = new global::System.Data.DataColumn("MA_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NAME); + this.columnMA_DESCR = new global::System.Data.DataColumn("MA_DESCR", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_DESCR); + this.columnMA_INDEX = new global::System.Data.DataColumn("MA_INDEX", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_INDEX); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnMA_NR}, true)); + this.columnMA_NR.AutoIncrement = true; + this.columnMA_NR.AutoIncrementSeed = -1; + this.columnMA_NR.AutoIncrementStep = -1; + this.columnMA_NR.AllowDBNull = false; + this.columnMA_NR.ReadOnly = true; + this.columnMA_NR.Unique = true; + this.columnMA_NAME.MaxLength = 128; + this.columnMA_DESCR.MaxLength = 240; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow NewMATERIALSRow() { + return ((MATERIALSRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new MATERIALSRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(MATERIALSRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.MATERIALSRowChanged != null)) { + this.MATERIALSRowChanged(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.MATERIALSRowChanging != null)) { + this.MATERIALSRowChanging(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.MATERIALSRowDeleted != null)) { + this.MATERIALSRowDeleted(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.MATERIALSRowDeleting != null)) { + this.MATERIALSRowDeleting(this, new MATERIALSRowChangeEvent(((MATERIALSRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemoveMATERIALSRow(MATERIALSRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "MATERIALSDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PARAMETERNAMESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnPN_NR; + + private global::System.Data.DataColumn columnPN_NAME; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESDataTable() { + this.TableName = "PARAMETERNAMES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal PARAMETERNAMESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected PARAMETERNAMESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn PN_NRColumn { + get { + return this.columnPN_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn PN_NAMEColumn { + get { + return this.columnPN_NAME; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow this[int index] { + get { + return ((PARAMETERNAMESRow)(this.Rows[index])); + } + } + + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowChanging; + + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowChanged; + + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowDeleting; + + public event PARAMETERNAMESRowChangeEventHandler PARAMETERNAMESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddPARAMETERNAMESRow(PARAMETERNAMESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow AddPARAMETERNAMESRow(string PN_NAME) { + PARAMETERNAMESRow rowPARAMETERNAMESRow = ((PARAMETERNAMESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + PN_NAME}; + rowPARAMETERNAMESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPARAMETERNAMESRow); + return rowPARAMETERNAMESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow FindByPN_NR(int PN_NR) { + return ((PARAMETERNAMESRow)(this.Rows.Find(new object[] { + PN_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + PARAMETERNAMESDataTable cln = ((PARAMETERNAMESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new PARAMETERNAMESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnPN_NR = base.Columns["PN_NR"]; + this.columnPN_NAME = base.Columns["PN_NAME"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnPN_NR = new global::System.Data.DataColumn("PN_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NR); + this.columnPN_NAME = new global::System.Data.DataColumn("PN_NAME", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NAME); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnPN_NR}, true)); + this.columnPN_NR.AutoIncrement = true; + this.columnPN_NR.AutoIncrementSeed = -1; + this.columnPN_NR.AutoIncrementStep = -1; + this.columnPN_NR.AllowDBNull = false; + this.columnPN_NR.ReadOnly = true; + this.columnPN_NR.Unique = true; + this.columnPN_NAME.MaxLength = 64; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow NewPARAMETERNAMESRow() { + return ((PARAMETERNAMESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PARAMETERNAMESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(PARAMETERNAMESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PARAMETERNAMESRowChanged != null)) { + this.PARAMETERNAMESRowChanged(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PARAMETERNAMESRowChanging != null)) { + this.PARAMETERNAMESRowChanging(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PARAMETERNAMESRowDeleted != null)) { + this.PARAMETERNAMESRowDeleted(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PARAMETERNAMESRowDeleting != null)) { + this.PARAMETERNAMESRowDeleting(this, new PARAMETERNAMESRowChangeEvent(((PARAMETERNAMESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemovePARAMETERNAMESRow(PARAMETERNAMESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "PARAMETERNAMESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class PARAMETERVALUESDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnPV_NR; + + private global::System.Data.DataColumn columnMA_NR; + + private global::System.Data.DataColumn columnPN_NR; + + private global::System.Data.DataColumn columnPV_VALUE; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESDataTable() { + this.TableName = "PARAMETERVALUES"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal PARAMETERVALUESDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected PARAMETERVALUESDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn PV_NRColumn { + get { + return this.columnPV_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn MA_NRColumn { + get { + return this.columnMA_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn PN_NRColumn { + get { + return this.columnPN_NR; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn PV_VALUEColumn { + get { + return this.columnPV_VALUE; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow this[int index] { + get { + return ((PARAMETERVALUESRow)(this.Rows[index])); + } + } + + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowChanging; + + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowChanged; + + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowDeleting; + + public event PARAMETERVALUESRowChangeEventHandler PARAMETERVALUESRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void AddPARAMETERVALUESRow(PARAMETERVALUESRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow AddPARAMETERVALUESRow(MATERIALSRow parentMATERIALSRowByPARAMETERVALUES_MATERIALS, PARAMETERNAMESRow parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES, double PV_VALUE) { + PARAMETERVALUESRow rowPARAMETERVALUESRow = ((PARAMETERVALUESRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + null, + null, + null, + PV_VALUE}; + if ((parentMATERIALSRowByPARAMETERVALUES_MATERIALS != null)) { + columnValuesArray[1] = parentMATERIALSRowByPARAMETERVALUES_MATERIALS[0]; + } + if ((parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES != null)) { + columnValuesArray[2] = parentPARAMETERNAMESRowByPARAMETERNAMES_PARAMETERVALUES[0]; + } + rowPARAMETERVALUESRow.ItemArray = columnValuesArray; + this.Rows.Add(rowPARAMETERVALUESRow); + return rowPARAMETERVALUESRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow FindByPV_NR(int PV_NR) { + return ((PARAMETERVALUESRow)(this.Rows.Find(new object[] { + PV_NR}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + PARAMETERVALUESDataTable cln = ((PARAMETERVALUESDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new PARAMETERVALUESDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnPV_NR = base.Columns["PV_NR"]; + this.columnMA_NR = base.Columns["MA_NR"]; + this.columnPN_NR = base.Columns["PN_NR"]; + this.columnPV_VALUE = base.Columns["PV_VALUE"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnPV_NR = new global::System.Data.DataColumn("PV_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPV_NR); + this.columnMA_NR = new global::System.Data.DataColumn("MA_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnMA_NR); + this.columnPN_NR = new global::System.Data.DataColumn("PN_NR", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPN_NR); + this.columnPV_VALUE = new global::System.Data.DataColumn("PV_VALUE", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnPV_VALUE); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnPV_NR}, true)); + this.columnPV_NR.AutoIncrement = true; + this.columnPV_NR.AutoIncrementSeed = -1; + this.columnPV_NR.AutoIncrementStep = -1; + this.columnPV_NR.AllowDBNull = false; + this.columnPV_NR.ReadOnly = true; + this.columnPV_NR.Unique = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow NewPARAMETERVALUESRow() { + return ((PARAMETERVALUESRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new PARAMETERVALUESRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(PARAMETERVALUESRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.PARAMETERVALUESRowChanged != null)) { + this.PARAMETERVALUESRowChanged(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.PARAMETERVALUESRowChanging != null)) { + this.PARAMETERVALUESRowChanging(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.PARAMETERVALUESRowDeleted != null)) { + this.PARAMETERVALUESRowDeleted(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.PARAMETERVALUESRowDeleting != null)) { + this.PARAMETERVALUESRowDeleting(this, new PARAMETERVALUESRowChangeEvent(((PARAMETERVALUESRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void RemovePARAMETERVALUESRow(PARAMETERVALUESRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + SoilProfileDataSet ds = new SoilProfileDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "PARAMETERVALUESDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class ODGEOMETRIESRow : global::System.Data.DataRow { + + private ODGEOMETRIESDataTable tableODGEOMETRIES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ODGEOMETRIESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableODGEOMETRIES = ((ODGEOMETRIESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OD_NR { + get { + return ((int)(this[this.tableODGEOMETRIES.OD_NRColumn])); + } + set { + this[this.tableODGEOMETRIES.OD_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string OD_NAME { + get { + try { + return ((string)(this[this.tableODGEOMETRIES.OD_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_NAME\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string OD_DESCR { + get { + try { + return ((string)(this[this.tableODGEOMETRIES.OD_DESCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_DESCR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_DESCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OD_RDX { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_RDXColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_RDX\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_RDXColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OD_RDY { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_RDYColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_RDY\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_RDYColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OD_CPTNR { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_CPTNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_CPTNR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_CPTNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OD_BORINGNR { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_BORINGNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_BORINGNR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_BORINGNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OD_GEOL_ZONE { + get { + try { + return ((int)(this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_GEOL_ZONE\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OD_CHANCE_OCCUR { + get { + try { + return ((double)(this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_CHANCE_OCCUR\' in table \'ODGEOMETRIES\' is DBNull.", e); + } + } + set { + this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_NAMENull() { + return this.IsNull(this.tableODGEOMETRIES.OD_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_NAMENull() { + this[this.tableODGEOMETRIES.OD_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_DESCRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_DESCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_DESCRNull() { + this[this.tableODGEOMETRIES.OD_DESCRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_RDXNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_RDXColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_RDXNull() { + this[this.tableODGEOMETRIES.OD_RDXColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_RDYNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_RDYColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_RDYNull() { + this[this.tableODGEOMETRIES.OD_RDYColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_CPTNRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_CPTNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_CPTNRNull() { + this[this.tableODGEOMETRIES.OD_CPTNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_BORINGNRNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_BORINGNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_BORINGNRNull() { + this[this.tableODGEOMETRIES.OD_BORINGNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_GEOL_ZONENull() { + return this.IsNull(this.tableODGEOMETRIES.OD_GEOL_ZONEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_GEOL_ZONENull() { + this[this.tableODGEOMETRIES.OD_GEOL_ZONEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_CHANCE_OCCURNull() { + return this.IsNull(this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_CHANCE_OCCURNull() { + this[this.tableODGEOMETRIES.OD_CHANCE_OCCURColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow[] GetODGEOLAYERSRows() { + if ((this.Table.ChildRelations["ODGEOMETRIES_ODGEOLAYERS"] == null)) { + return new ODGEOLAYERSRow[0]; + } + else { + return ((ODGEOLAYERSRow[])(base.GetChildRows(this.Table.ChildRelations["ODGEOMETRIES_ODGEOLAYERS"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class ODGEOLAYERSRow : global::System.Data.DataRow { + + private ODGEOLAYERSDataTable tableODGEOLAYERS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal ODGEOLAYERSRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableODGEOLAYERS = ((ODGEOLAYERSDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OL_NR { + get { + return ((int)(this[this.tableODGEOLAYERS.OL_NRColumn])); + } + set { + this[this.tableODGEOLAYERS.OL_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OD_NR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OD_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OD_NR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OD_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int MA_NR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.MA_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OL_LAYERNR { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_LAYERNRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_LAYERNR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_LAYERNRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OL_LEVEL { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_LEVELColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_LEVEL\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_LEVELColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OL_PLATTOP { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_PLATTOPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_PLATTOP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_PLATTOPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int OL_PLATBOTTOM { + get { + try { + return ((int)(this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_PLATBOTTOM\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OL_TOPEXCESSPP { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_TOPEXCESSPP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OL_BOTEXCESSPP { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_BOTEXCESSPP\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double OL_OCR { + get { + try { + return ((double)(this[this.tableODGEOLAYERS.OL_OCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'OL_OCR\' in table \'ODGEOLAYERS\' is DBNull.", e); + } + } + set { + this[this.tableODGEOLAYERS.OL_OCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow ODGEOMETRIESRow { + get { + return ((ODGEOMETRIESRow)(this.GetParentRow(this.Table.ParentRelations["ODGEOMETRIES_ODGEOLAYERS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["ODGEOMETRIES_ODGEOLAYERS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow MATERIALSRow { + get { + return ((MATERIALSRow)(this.GetParentRow(this.Table.ParentRelations["ODGEOLAYERS_MATERIALS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["ODGEOLAYERS_MATERIALS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOD_NRNull() { + return this.IsNull(this.tableODGEOLAYERS.OD_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOD_NRNull() { + this[this.tableODGEOLAYERS.OD_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsMA_NRNull() { + return this.IsNull(this.tableODGEOLAYERS.MA_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetMA_NRNull() { + this[this.tableODGEOLAYERS.MA_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_LAYERNRNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_LAYERNRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_LAYERNRNull() { + this[this.tableODGEOLAYERS.OL_LAYERNRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_LEVELNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_LEVELColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_LEVELNull() { + this[this.tableODGEOLAYERS.OL_LEVELColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_PLATTOPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_PLATTOPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_PLATTOPNull() { + this[this.tableODGEOLAYERS.OL_PLATTOPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_PLATBOTTOMNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_PLATBOTTOMColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_PLATBOTTOMNull() { + this[this.tableODGEOLAYERS.OL_PLATBOTTOMColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_TOPEXCESSPPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_TOPEXCESSPPNull() { + this[this.tableODGEOLAYERS.OL_TOPEXCESSPPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_BOTEXCESSPPNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_BOTEXCESSPPNull() { + this[this.tableODGEOLAYERS.OL_BOTEXCESSPPColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsOL_OCRNull() { + return this.IsNull(this.tableODGEOLAYERS.OL_OCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetOL_OCRNull() { + this[this.tableODGEOLAYERS.OL_OCRColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class MATERIALSRow : global::System.Data.DataRow { + + private MATERIALSDataTable tableMATERIALS; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal MATERIALSRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tableMATERIALS = ((MATERIALSDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int MA_NR { + get { + return ((int)(this[this.tableMATERIALS.MA_NRColumn])); + } + set { + this[this.tableMATERIALS.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string MA_NAME { + get { + try { + return ((string)(this[this.tableMATERIALS.MA_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NAME\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string MA_DESCR { + get { + try { + return ((string)(this[this.tableMATERIALS.MA_DESCRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_DESCR\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_DESCRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int MA_INDEX { + get { + try { + return ((int)(this[this.tableMATERIALS.MA_INDEXColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_INDEX\' in table \'MATERIALS\' is DBNull.", e); + } + } + set { + this[this.tableMATERIALS.MA_INDEXColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsMA_NAMENull() { + return this.IsNull(this.tableMATERIALS.MA_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetMA_NAMENull() { + this[this.tableMATERIALS.MA_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsMA_DESCRNull() { + return this.IsNull(this.tableMATERIALS.MA_DESCRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetMA_DESCRNull() { + this[this.tableMATERIALS.MA_DESCRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsMA_INDEXNull() { + return this.IsNull(this.tableMATERIALS.MA_INDEXColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetMA_INDEXNull() { + this[this.tableMATERIALS.MA_INDEXColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow[] GetODGEOLAYERSRows() { + if ((this.Table.ChildRelations["ODGEOLAYERS_MATERIALS"] == null)) { + return new ODGEOLAYERSRow[0]; + } + else { + return ((ODGEOLAYERSRow[])(base.GetChildRows(this.Table.ChildRelations["ODGEOLAYERS_MATERIALS"]))); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow[] GetPARAMETERVALUESRows() { + if ((this.Table.ChildRelations["PARAMETERVALUES_MATERIALS"] == null)) { + return new PARAMETERVALUESRow[0]; + } + else { + return ((PARAMETERVALUESRow[])(base.GetChildRows(this.Table.ChildRelations["PARAMETERVALUES_MATERIALS"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class PARAMETERNAMESRow : global::System.Data.DataRow { + + private PARAMETERNAMESDataTable tablePARAMETERNAMES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal PARAMETERNAMESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePARAMETERNAMES = ((PARAMETERNAMESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int PN_NR { + get { + return ((int)(this[this.tablePARAMETERNAMES.PN_NRColumn])); + } + set { + this[this.tablePARAMETERNAMES.PN_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string PN_NAME { + get { + try { + return ((string)(this[this.tablePARAMETERNAMES.PN_NAMEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PN_NAME\' in table \'PARAMETERNAMES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERNAMES.PN_NAMEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsPN_NAMENull() { + return this.IsNull(this.tablePARAMETERNAMES.PN_NAMEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetPN_NAMENull() { + this[this.tablePARAMETERNAMES.PN_NAMEColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow[] GetPARAMETERVALUESRows() { + if ((this.Table.ChildRelations["PARAMETERNAMES_PARAMETERVALUES"] == null)) { + return new PARAMETERVALUESRow[0]; + } + else { + return ((PARAMETERVALUESRow[])(base.GetChildRows(this.Table.ChildRelations["PARAMETERNAMES_PARAMETERVALUES"]))); + } + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class PARAMETERVALUESRow : global::System.Data.DataRow { + + private PARAMETERVALUESDataTable tablePARAMETERVALUES; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal PARAMETERVALUESRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablePARAMETERVALUES = ((PARAMETERVALUESDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int PV_NR { + get { + return ((int)(this[this.tablePARAMETERVALUES.PV_NRColumn])); + } + set { + this[this.tablePARAMETERVALUES.PV_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int MA_NR { + get { + try { + return ((int)(this[this.tablePARAMETERVALUES.MA_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'MA_NR\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.MA_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int PN_NR { + get { + try { + return ((int)(this[this.tablePARAMETERVALUES.PN_NRColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PN_NR\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.PN_NRColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double PV_VALUE { + get { + try { + return ((double)(this[this.tablePARAMETERVALUES.PV_VALUEColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'PV_VALUE\' in table \'PARAMETERVALUES\' is DBNull.", e); + } + } + set { + this[this.tablePARAMETERVALUES.PV_VALUEColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow MATERIALSRow { + get { + return ((MATERIALSRow)(this.GetParentRow(this.Table.ParentRelations["PARAMETERVALUES_MATERIALS"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["PARAMETERVALUES_MATERIALS"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow PARAMETERNAMESRow { + get { + return ((PARAMETERNAMESRow)(this.GetParentRow(this.Table.ParentRelations["PARAMETERNAMES_PARAMETERVALUES"]))); + } + set { + this.SetParentRow(value, this.Table.ParentRelations["PARAMETERNAMES_PARAMETERVALUES"]); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsMA_NRNull() { + return this.IsNull(this.tablePARAMETERVALUES.MA_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetMA_NRNull() { + this[this.tablePARAMETERVALUES.MA_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsPN_NRNull() { + return this.IsNull(this.tablePARAMETERVALUES.PN_NRColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetPN_NRNull() { + this[this.tablePARAMETERVALUES.PN_NRColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsPV_VALUENull() { + return this.IsNull(this.tablePARAMETERVALUES.PV_VALUEColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetPV_VALUENull() { + this[this.tablePARAMETERVALUES.PV_VALUEColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class ODGEOMETRIESRowChangeEvent : global::System.EventArgs { + + private ODGEOMETRIESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRowChangeEvent(ODGEOMETRIESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class ODGEOLAYERSRowChangeEvent : global::System.EventArgs { + + private ODGEOLAYERSRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRowChangeEvent(ODGEOLAYERSRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class MATERIALSRowChangeEvent : global::System.EventArgs { + + private MATERIALSRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRowChangeEvent(MATERIALSRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class PARAMETERNAMESRowChangeEvent : global::System.EventArgs { + + private PARAMETERNAMESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRowChangeEvent(PARAMETERNAMESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class PARAMETERVALUESRowChangeEvent : global::System.EventArgs { + + private PARAMETERVALUESRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRowChangeEvent(PARAMETERVALUESRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + } +} +namespace WebApplication1.SoilProfileDataSetTableAdapters { + + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ODGEOMETRIESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOMETRIESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ODGEOMETRIES"; + tableMapping.ColumnMappings.Add("OD_NR", "OD_NR"); + tableMapping.ColumnMappings.Add("OD_NAME", "OD_NAME"); + tableMapping.ColumnMappings.Add("OD_DESCR", "OD_DESCR"); + tableMapping.ColumnMappings.Add("OD_RDX", "OD_RDX"); + tableMapping.ColumnMappings.Add("OD_RDY", "OD_RDY"); + tableMapping.ColumnMappings.Add("OD_CPTNR", "OD_CPTNR"); + tableMapping.ColumnMappings.Add("OD_BORINGNR", "OD_BORINGNR"); + tableMapping.ColumnMappings.Add("OD_GEOL_ZONE", "OD_GEOL_ZONE"); + tableMapping.ColumnMappings.Add("OD_CHANCE_OCCUR", "OD_CHANCE_OCCUR"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT OD_NR, OD_NAME, OD_DESCR, OD_RDX, OD_RDY, OD_CPTNR, OD_BORINGNR, OD_GEOL_Z" + + "ONE, OD_CHANCE_OCCUR FROM ODGEOMETRIES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.ODGEOMETRIESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.ODGEOMETRIESDataTable dataTable = new SoilProfileDataSet.ODGEOMETRIESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class ODGEOLAYERSTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public ODGEOLAYERSTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "ODGEOLAYERS"; + tableMapping.ColumnMappings.Add("OL_NR", "OL_NR"); + tableMapping.ColumnMappings.Add("OD_NR", "OD_NR"); + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("OL_LAYERNR", "OL_LAYERNR"); + tableMapping.ColumnMappings.Add("OL_LEVEL", "OL_LEVEL"); + tableMapping.ColumnMappings.Add("OL_PLATTOP", "OL_PLATTOP"); + tableMapping.ColumnMappings.Add("OL_PLATBOTTOM", "OL_PLATBOTTOM"); + tableMapping.ColumnMappings.Add("OL_TOPEXCESSPP", "OL_TOPEXCESSPP"); + tableMapping.ColumnMappings.Add("OL_BOTEXCESSPP", "OL_BOTEXCESSPP"); + tableMapping.ColumnMappings.Add("OL_OCR", "OL_OCR"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT OL_NR, OD_NR, MA_NR, OL_LAYERNR, OL_LEVEL, OL_PLATTOP, OL_PLATBOTTOM, OL_T" + + "OPEXCESSPP, OL_BOTEXCESSPP, OL_OCR FROM ODGEOLAYERS"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.ODGEOLAYERSDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.ODGEOLAYERSDataTable dataTable = new SoilProfileDataSet.ODGEOLAYERSDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class MATERIALSTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public MATERIALSTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "MATERIALS"; + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("MA_NAME", "MA_NAME"); + tableMapping.ColumnMappings.Add("MA_DESCR", "MA_DESCR"); + tableMapping.ColumnMappings.Add("MA_INDEX", "MA_INDEX"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT MA_NR, MA_NAME, MA_DESCR, MA_INDEX FROM MATERIALS"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.MATERIALSDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.MATERIALSDataTable dataTable = new SoilProfileDataSet.MATERIALSDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PARAMETERNAMESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERNAMESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "PARAMETERNAMES"; + tableMapping.ColumnMappings.Add("PN_NR", "PN_NR"); + tableMapping.ColumnMappings.Add("PN_NAME", "PN_NAME"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT PN_NR, PN_NAME FROM PARAMETERNAMES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.PARAMETERNAMESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.PARAMETERNAMESDataTable dataTable = new SoilProfileDataSet.PARAMETERNAMESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class PARAMETERVALUESTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.Odbc.OdbcDataAdapter _adapter; + + private global::System.Data.Odbc.OdbcConnection _connection; + + private global::System.Data.Odbc.OdbcTransaction _transaction; + + private global::System.Data.Odbc.OdbcCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public PARAMETERVALUESTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.Odbc.OdbcDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.Odbc.OdbcCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.Odbc.OdbcTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.Odbc.OdbcCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.Odbc.OdbcDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "PARAMETERVALUES"; + tableMapping.ColumnMappings.Add("PV_NR", "PV_NR"); + tableMapping.ColumnMappings.Add("MA_NR", "MA_NR"); + tableMapping.ColumnMappings.Add("PN_NR", "PN_NR"); + tableMapping.ColumnMappings.Add("PV_VALUE", "PV_VALUE"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.Odbc.OdbcConnection(); + this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.Odbc.OdbcCommand[1]; + this._commandCollection[0] = new global::System.Data.Odbc.OdbcCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "SELECT PV_NR, MA_NR, PN_NR, PV_VALUE FROM PARAMETERVALUES"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual SoilProfileDataSet.PARAMETERVALUESDataTable GetData() { + this.Adapter.SelectCommand = this.CommandCollection[0]; + SoilProfileDataSet.PARAMETERVALUESDataTable dataTable = new SoilProfileDataSet.PARAMETERVALUESDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" + + "esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")] + public partial class TableAdapterManager : global::System.ComponentModel.Component { + + private UpdateOrderOption _updateOrder; + + private bool _backupDataSetBeforeUpdate; + + private global::System.Data.IDbConnection _connection; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public UpdateOrderOption UpdateOrder { + get { + return this._updateOrder; + } + set { + this._updateOrder = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool BackupDataSetBeforeUpdate { + get { + return this._backupDataSetBeforeUpdate; + } + set { + this._backupDataSetBeforeUpdate = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public global::System.Data.IDbConnection Connection { + get { + if ((this._connection != null)) { + return this._connection; + } + return null; + } + set { + this._connection = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int TableAdapterInstanceCount { + get { + int count = 0; + return count; + } + } + + /// + ///Update rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateUpdatedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Insert rows in top-down order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateInsertedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allAddedRows) { + int result = 0; + return result; + } + + /// + ///Delete rows in bottom-up order. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private int UpdateDeletedRows(SoilProfileDataSet dataSet, global::System.Collections.Generic.List allChangedRows) { + int result = 0; + return result; + } + + /// + ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { + if (((updatedRows == null) + || (updatedRows.Length < 1))) { + return updatedRows; + } + if (((allAddedRows == null) + || (allAddedRows.Count < 1))) { + return updatedRows; + } + global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); + for (int i = 0; (i < updatedRows.Length); i = (i + 1)) { + global::System.Data.DataRow row = updatedRows[i]; + if ((allAddedRows.Contains(row) == false)) { + realUpdatedRows.Add(row); + } + } + return realUpdatedRows.ToArray(); + } + + /// + ///Update all changes to the dataset. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public virtual int UpdateAll(SoilProfileDataSet dataSet) { + if ((dataSet == null)) { + throw new global::System.ArgumentNullException("dataSet"); + } + if ((dataSet.HasChanges() == false)) { + return 0; + } + global::System.Data.IDbConnection workConnection = this.Connection; + if ((workConnection == null)) { + throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + + "ger TableAdapter property to a valid TableAdapter instance."); + } + bool workConnOpened = false; + if (((workConnection.State & global::System.Data.ConnectionState.Broken) + == global::System.Data.ConnectionState.Broken)) { + workConnection.Close(); + } + if ((workConnection.State == global::System.Data.ConnectionState.Closed)) { + workConnection.Open(); + workConnOpened = true; + } + global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction(); + if ((workTransaction == null)) { + throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" + + "ctions or the current state is not allowing the transaction to begin."); + } + global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); + global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); + int result = 0; + global::System.Data.DataSet backupDataSet = null; + if (this.BackupDataSetBeforeUpdate) { + backupDataSet = new global::System.Data.DataSet(); + backupDataSet.Merge(dataSet); + } + try { + // ---- Prepare for update ----------- + // + // + //---- Perform updates ----------- + // + if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) { + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + } + else { + result = (result + this.UpdateInsertedRows(dataSet, allAddedRows)); + result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows)); + } + result = (result + this.UpdateDeletedRows(dataSet, allChangedRows)); + // + //---- Commit updates ----------- + // + workTransaction.Commit(); + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + if ((0 < allChangedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count]; + allChangedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + } + } + } + catch (global::System.Exception ex) { + workTransaction.Rollback(); + // ---- Restore the dataset ----------- + if (this.BackupDataSetBeforeUpdate) { + global::System.Diagnostics.Debug.Assert((backupDataSet != null)); + dataSet.Clear(); + dataSet.Merge(backupDataSet); + } + else { + if ((0 < allAddedRows.Count)) { + global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count]; + allAddedRows.CopyTo(rows); + for (int i = 0; (i < rows.Length); i = (i + 1)) { + global::System.Data.DataRow row = rows[i]; + row.AcceptChanges(); + row.SetAdded(); + } + } + } + throw ex; + } + finally { + if (workConnOpened) { + workConnection.Close(); + } + if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) { + global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count]; + adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters); + for (int i = 0; (i < adapters.Length); i = (i + 1)) { + global::System.Data.Common.DataAdapter adapter = adapters[i]; + adapter.AcceptChangesDuringUpdate = true; + } + } + } + return result; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { + global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) { + if ((this._connection != null)) { + return true; + } + if (((this.Connection == null) + || (inputConnection == null))) { + return true; + } + if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) { + return true; + } + return false; + } + + /// + ///Update Order Option + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public enum UpdateOrderOption { + + InsertUpdateDelete = 0, + + UpdateInsertDelete = 1, + } + + /// + ///Used to sort self-referenced table's rows + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { + + private global::System.Data.DataRelation _relation; + + private int _childFirst; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) { + this._relation = relation; + if (childFirst) { + this._childFirst = -1; + } + else { + this._childFirst = 1; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool IsChildAndParent(global::System.Data.DataRow child, global::System.Data.DataRow parent) { + global::System.Diagnostics.Debug.Assert((child != null)); + global::System.Diagnostics.Debug.Assert((parent != null)); + global::System.Data.DataRow newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + for ( + ; ((newParent != null) + && ((object.ReferenceEquals(newParent, child) == false) + && (object.ReferenceEquals(newParent, parent) == false))); + ) { + newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default); + } + if ((newParent == null)) { + for (newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); ((newParent != null) + && ((object.ReferenceEquals(newParent, child) == false) + && (object.ReferenceEquals(newParent, parent) == false))); + ) { + newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); + } + } + if (object.ReferenceEquals(newParent, parent)) { + return true; + } + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) { + if (object.ReferenceEquals(row1, row2)) { + return 0; + } + if ((row1 == null)) { + return -1; + } + if ((row2 == null)) { + return 1; + } + + // Is row1 the child or grandchild of row2 + if (this.IsChildAndParent(row1, row2)) { + return this._childFirst; + } + + // Is row2 the child or grandchild of row1 + if (this.IsChildAndParent(row2, row1)) { + return (-1 * this._childFirst); + } + return 0; + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xss =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xss (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilProfileDataSet.xss (revision 5841) @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + 254 + 283 + + + 280 + 283 + + + + + + + 554 + 275 + + + 507 + 275 + + + + + + + 659 + 347 + + + 659 + 420 + + + + + + + 685 + 596 + + + 685 + 559 + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/SoilbaseDataSet.xsd (revision 5841) @@ -0,0 +1,611 @@ + + + + + + + + + + + + + + + + DELETE FROM `MATERIALS` WHERE ((`MA_NR` = ?) AND ((? = 1 AND + `MA_NAME` IS NULL) OR (`MA_NAME` = ?)) AND ((? = 1 AND `MA_DESCR` IS NULL) + OR (`MA_DESCR` = ?)) AND ((? = 1 AND `MA_INDEX` IS NULL) OR (`MA_INDEX` = + ?))) + + + + + + + + + + + + + + + INSERT INTO `MATERIALS` (`MA_NAME`, `MA_DESCR`, `MA_INDEX`) VALUES + (?, ?, ?) + + + + + + + + + + + SELECT MA_NR, MA_NAME, MA_DESCR, MA_INDEX FROM MATERIALS + + + + + + + UPDATE `MATERIALS` SET `MA_NAME` = ?, `MA_DESCR` = ?, `MA_INDEX` = + ? WHERE ((`MA_NR` = ?) AND ((? = 1 AND `MA_NAME` IS NULL) OR (`MA_NAME` = + ?)) AND ((? = 1 AND `MA_DESCR` IS NULL) OR (`MA_DESCR` = ?)) AND ((? = 1 AND + `MA_INDEX` IS NULL) OR (`MA_INDEX` = ?))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM `PARAMETERVALUES` WHERE ((`PV_NR` = ?) AND ((? = 1 AND + `MA_NR` IS NULL) OR (`MA_NR` = ?)) AND ((? = 1 AND `PN_NR` IS NULL) OR + (`PN_NR` = ?)) AND ((? = 1 AND `PV_VALUE` IS NULL) OR (`PV_VALUE` = ?))) + + + + + + + + + + + + + + + INSERT INTO `PARAMETERVALUES` (`MA_NR`, `PN_NR`, `PV_VALUE`) VALUES + (?, ?, ?) + + + + + + + + + + + SELECT PV_NR, MA_NR, PN_NR, PV_VALUE FROM PARAMETERVALUES + + + + + + + UPDATE `PARAMETERVALUES` SET `MA_NR` = ?, `PN_NR` = ?, `PV_VALUE` = + ? WHERE ((`PV_NR` = ?) AND ((? = 1 AND `MA_NR` IS NULL) OR (`MA_NR` = ?)) + AND ((? = 1 AND `PN_NR` IS NULL) OR (`PN_NR` = ?)) AND ((? = 1 AND + `PV_VALUE` IS NULL) OR (`PV_VALUE` = ?))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM `PARAMETERNAMES` WHERE ((`PN_NR` = ?) AND ((? = 1 AND + `PN_NAME` IS NULL) OR (`PN_NAME` = ?))) + + + + + + + + + + + INSERT INTO `PARAMETERNAMES` (`PN_NAME`) VALUES (?) + + + + + + + + SELECT PN_NR, PN_NAME FROM PARAMETERNAMES + + + + + + UPDATE `PARAMETERNAMES` SET `PN_NAME` = ? WHERE ((`PN_NR` = ?) AND + ((? = 1 AND `PN_NAME` IS NULL) OR (`PN_NAME` = ?))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: DamClients/DamLive/trunk/xsd/DamMStabInputDefinition.xsd =================================================================== diff -u --- DamClients/DamLive/trunk/xsd/DamMStabInputDefinition.xsd (revision 0) +++ DamClients/DamLive/trunk/xsd/DamMStabInputDefinition.xsd (revision 5841) @@ -0,0 +1,272 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/ProfileDefinition.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilbaseDataSet.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/pi_sharedtypes.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet1.Designer.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/DamMStabDocDefinition.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/pi_timeseries.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet.Designer.cs'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/DamMStabInputDefinition.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/XmlCalculationParameters.xsd'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/GenerateClasses.bat'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet.xsc'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilProfileDataSet.xss'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilbaseDataSet.xsc'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 5841 refers to a dead (removed) revision in file `DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Xsd/SoilbaseDataSet.xss'. Fisheye: No comparison available. Pass `N' to diff?