//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace ISCMS.Main.DataSetNS {
using System;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[System.Xml.Serialization.XmlRootAttribute("nodeDataset")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class nodeDataset : System.Data.DataSet {
private NodesDataTable tableNodes;
private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public nodeDataset() {
this.BeginInit();
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected nodeDataset(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["Nodes"] != null)) {
base.Tables.Add(new NodesDataTable(ds.Tables["Nodes"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public NodesDataTable Nodes {
get {
return this.tableNodes;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.BrowsableAttribute(true)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override System.Data.SchemaSerializationMode SchemaSerializationMode {
get {
return this._schemaSerializationMode;
}
set {
this._schemaSerializationMode = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new System.Data.DataTableCollection Tables {
get {
return base.Tables;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataSet Clone() {
nodeDataset cln = ((nodeDataset)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeTables() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeRelations() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["Nodes"] != null)) {
base.Tables.Add(new NodesDataTable(ds.Tables["Nodes"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.tableNodes = ((NodesDataTable)(base.Tables["Nodes"]));
if ((initTable == true)) {
if ((this.tableNodes != null)) {
this.tableNodes.InitVars();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "nodeDataset";
this.Prefix = "";
this.Namespace = "http://tempuri.org/nodeDataset.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.tableNodes = new NodesDataTable();
base.Tables.Add(this.tableNodes);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeNodes() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
nodeDataset ds = new nodeDataset();
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void NodesRowChangeEventHandler(object sender, NodesRowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class NodesDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnSelectionNode;
private System.Data.DataColumn columnParentNode;
private System.Data.DataColumn columnParentParentNode;
private System.Data.DataColumn columnExecute;
private System.Data.DataColumn columnNo;
private System.Data.DataColumn columnIsDialog;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesDataTable() {
this.TableName = "Nodes";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal NodesDataTable(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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected NodesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn SelectionNodeColumn {
get {
return this.columnSelectionNode;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ParentNodeColumn {
get {
return this.columnParentNode;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ParentParentNodeColumn {
get {
return this.columnParentParentNode;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ExecuteColumn {
get {
return this.columnExecute;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NoColumn {
get {
return this.columnNo;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn IsDialogColumn {
get {
return this.columnIsDialog;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRow this[int index] {
get {
return ((NodesRow)(this.Rows[index]));
}
}
public event NodesRowChangeEventHandler NodesRowChanging;
public event NodesRowChangeEventHandler NodesRowChanged;
public event NodesRowChangeEventHandler NodesRowDeleting;
public event NodesRowChangeEventHandler NodesRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddNodesRow(NodesRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRow AddNodesRow(string SelectionNode, string ParentNode, string ParentParentNode, string Execute, int No, bool IsDialog) {
NodesRow rowNodesRow = ((NodesRow)(this.NewRow()));
rowNodesRow.ItemArray = new object[] {
SelectionNode,
ParentNode,
ParentParentNode,
Execute,
No,
IsDialog};
this.Rows.Add(rowNodesRow);
return rowNodesRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRow FindByNo(int No) {
return ((NodesRow)(this.Rows.Find(new object[] {
No})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
NodesDataTable cln = ((NodesDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new NodesDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnSelectionNode = base.Columns["SelectionNode"];
this.columnParentNode = base.Columns["ParentNode"];
this.columnParentParentNode = base.Columns["ParentParentNode"];
this.columnExecute = base.Columns["Execute"];
this.columnNo = base.Columns["No"];
this.columnIsDialog = base.Columns["IsDialog"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnSelectionNode = new System.Data.DataColumn("SelectionNode", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnSelectionNode);
this.columnParentNode = new System.Data.DataColumn("ParentNode", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnParentNode);
this.columnParentParentNode = new System.Data.DataColumn("ParentParentNode", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnParentParentNode);
this.columnExecute = new System.Data.DataColumn("Execute", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnExecute);
this.columnNo = new System.Data.DataColumn("No", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNo);
this.columnIsDialog = new System.Data.DataColumn("IsDialog", typeof(bool), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnIsDialog);
this.Constraints.Add(new System.Data.UniqueConstraint("nodeDatasetKey1", new System.Data.DataColumn[] {
this.columnNo}, true));
this.columnSelectionNode.AllowDBNull = false;
this.columnNo.AllowDBNull = false;
this.columnNo.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRow NewNodesRow() {
return ((NodesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new NodesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(NodesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.NodesRowChanged != null)) {
this.NodesRowChanged(this, new NodesRowChangeEvent(((NodesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.NodesRowChanging != null)) {
this.NodesRowChanging(this, new NodesRowChangeEvent(((NodesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.NodesRowDeleted != null)) {
this.NodesRowDeleted(this, new NodesRowChangeEvent(((NodesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.NodesRowDeleting != null)) {
this.NodesRowDeleting(this, new NodesRowChangeEvent(((NodesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveNodesRow(NodesRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
nodeDataset ds = new nodeDataset();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "NodesDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class NodesRow : System.Data.DataRow {
private NodesDataTable tableNodes;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal NodesRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableNodes = ((NodesDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string SelectionNode {
get {
return ((string)(this[this.tableNodes.SelectionNodeColumn]));
}
set {
this[this.tableNodes.SelectionNodeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ParentNode {
get {
try {
return ((string)(this[this.tableNodes.ParentNodeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'ParentNode\' in table \'Nodes\' is DBNull.", e);
}
}
set {
this[this.tableNodes.ParentNodeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ParentParentNode {
get {
try {
return ((string)(this[this.tableNodes.ParentParentNodeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'ParentParentNode\' in table \'Nodes\' is DBNull.", e);
}
}
set {
this[this.tableNodes.ParentParentNodeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Execute {
get {
try {
return ((string)(this[this.tableNodes.ExecuteColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'Execute\' in table \'Nodes\' is DBNull.", e);
}
}
set {
this[this.tableNodes.ExecuteColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int No {
get {
return ((int)(this[this.tableNodes.NoColumn]));
}
set {
this[this.tableNodes.NoColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDialog {
get {
try {
return ((bool)(this[this.tableNodes.IsDialogColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'IsDialog\' in table \'Nodes\' is DBNull.", e);
}
}
set {
this[this.tableNodes.IsDialogColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsParentNodeNull() {
return this.IsNull(this.tableNodes.ParentNodeColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetParentNodeNull() {
this[this.tableNodes.ParentNodeColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsParentParentNodeNull() {
return this.IsNull(this.tableNodes.ParentParentNodeColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetParentParentNodeNull() {
this[this.tableNodes.ParentParentNodeColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsExecuteNull() {
return this.IsNull(this.tableNodes.ExecuteColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetExecuteNull() {
this[this.tableNodes.ExecuteColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsIsDialogNull() {
return this.IsNull(this.tableNodes.IsDialogColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetIsDialogNull() {
this[this.tableNodes.IsDialogColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class NodesRowChangeEvent : System.EventArgs {
private NodesRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRowChangeEvent(NodesRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NodesRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591