1122 lines
60 KiB
C#
1122 lines
60 KiB
C#
|
//------------------------------------------------------------------------------
|
|||
|
// <auto-generated>
|
|||
|
// 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.
|
|||
|
// </auto-generated>
|
|||
|
//------------------------------------------------------------------------------
|
|||
|
|
|||
|
#pragma warning disable 1591
|
|||
|
|
|||
|
namespace HRM.BO.Organogram {
|
|||
|
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Represents a strongly typed in-memory cache of data.
|
|||
|
///</summary>
|
|||
|
[global::System.Serializable()]
|
|||
|
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|||
|
[global::System.ComponentModel.ToolboxItem(true)]
|
|||
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
|
|||
|
[global::System.Xml.Serialization.XmlRootAttribute("OrgData")]
|
|||
|
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
|
|||
|
public partial class OrgData : global::System.Data.DataSet {
|
|||
|
|
|||
|
private OrgDetailsDataTable tableOrgDetails;
|
|||
|
|
|||
|
private DataTable1DataTable tableDataTable1;
|
|||
|
|
|||
|
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgData() {
|
|||
|
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", "4.0.0.0")]
|
|||
|
protected OrgData(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["OrgDetails"] != null)) {
|
|||
|
base.Tables.Add(new OrgDetailsDataTable(ds.Tables["OrgDetails"]));
|
|||
|
}
|
|||
|
if ((ds.Tables["DataTable1"] != null)) {
|
|||
|
base.Tables.Add(new DataTable1DataTable(ds.Tables["DataTable1"]));
|
|||
|
}
|
|||
|
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", "4.0.0.0")]
|
|||
|
[global::System.ComponentModel.Browsable(false)]
|
|||
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|||
|
public OrgDetailsDataTable OrgDetails {
|
|||
|
get {
|
|||
|
return this.tableOrgDetails;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
[global::System.ComponentModel.Browsable(false)]
|
|||
|
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|||
|
public DataTable1DataTable DataTable1 {
|
|||
|
get {
|
|||
|
return this.tableDataTable1;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
|
|||
|
public override global::System.Data.DataSet Clone() {
|
|||
|
OrgData cln = ((OrgData)(base.Clone()));
|
|||
|
cln.InitVars();
|
|||
|
cln.SchemaSerializationMode = this.SchemaSerializationMode;
|
|||
|
return cln;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override bool ShouldSerializeTables() {
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override bool ShouldSerializeRelations() {
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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["OrgDetails"] != null)) {
|
|||
|
base.Tables.Add(new OrgDetailsDataTable(ds.Tables["OrgDetails"]));
|
|||
|
}
|
|||
|
if ((ds.Tables["DataTable1"] != null)) {
|
|||
|
base.Tables.Add(new DataTable1DataTable(ds.Tables["DataTable1"]));
|
|||
|
}
|
|||
|
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", "4.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", "4.0.0.0")]
|
|||
|
internal void InitVars() {
|
|||
|
this.InitVars(true);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal void InitVars(bool initTable) {
|
|||
|
this.tableOrgDetails = ((OrgDetailsDataTable)(base.Tables["OrgDetails"]));
|
|||
|
if ((initTable == true)) {
|
|||
|
if ((this.tableOrgDetails != null)) {
|
|||
|
this.tableOrgDetails.InitVars();
|
|||
|
}
|
|||
|
}
|
|||
|
this.tableDataTable1 = ((DataTable1DataTable)(base.Tables["DataTable1"]));
|
|||
|
if ((initTable == true)) {
|
|||
|
if ((this.tableDataTable1 != null)) {
|
|||
|
this.tableDataTable1.InitVars();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
private void InitClass() {
|
|||
|
this.DataSetName = "OrgData";
|
|||
|
this.Prefix = "";
|
|||
|
this.Namespace = "http://tempuri.org/OrgData.xsd";
|
|||
|
this.EnforceConstraints = true;
|
|||
|
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
|
|||
|
this.tableOrgDetails = new OrgDetailsDataTable();
|
|||
|
base.Tables.Add(this.tableOrgDetails);
|
|||
|
this.tableDataTable1 = new DataTable1DataTable();
|
|||
|
base.Tables.Add(this.tableDataTable1);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
private bool ShouldSerializeOrgDetails() {
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
private bool ShouldSerializeDataTable1() {
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
|
|||
|
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|||
|
OrgData ds = new OrgData();
|
|||
|
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", "4.0.0.0")]
|
|||
|
public delegate void OrgDetailsRowChangeEventHandler(object sender, OrgDetailsRowChangeEvent e);
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public delegate void DataTable1RowChangeEventHandler(object sender, DataTable1RowChangeEvent e);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Represents the strongly named DataTable class.
|
|||
|
///</summary>
|
|||
|
[global::System.Serializable()]
|
|||
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|||
|
public partial class OrgDetailsDataTable : global::System.Data.TypedTableBase<OrgDetailsRow> {
|
|||
|
|
|||
|
private global::System.Data.DataColumn columnEmployeeID;
|
|||
|
|
|||
|
private global::System.Data.DataColumn columnEmployeeName;
|
|||
|
|
|||
|
private global::System.Data.DataColumn columnBossEmployeeID;
|
|||
|
|
|||
|
private global::System.Data.DataColumn columnEmployeeTitle;
|
|||
|
|
|||
|
private global::System.Data.DataColumn columnNodeID;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgDetailsDataTable() {
|
|||
|
this.TableName = "OrgDetails";
|
|||
|
this.BeginInit();
|
|||
|
this.InitClass();
|
|||
|
this.EndInit();
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal OrgDetailsDataTable(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", "4.0.0.0")]
|
|||
|
protected OrgDetailsDataTable(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", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn EmployeeIDColumn {
|
|||
|
get {
|
|||
|
return this.columnEmployeeID;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn EmployeeNameColumn {
|
|||
|
get {
|
|||
|
return this.columnEmployeeName;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn BossEmployeeIDColumn {
|
|||
|
get {
|
|||
|
return this.columnBossEmployeeID;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn EmployeeTitleColumn {
|
|||
|
get {
|
|||
|
return this.columnEmployeeTitle;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn NodeIDColumn {
|
|||
|
get {
|
|||
|
return this.columnNodeID;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
|
|||
|
public OrgDetailsRow this[int index] {
|
|||
|
get {
|
|||
|
return ((OrgDetailsRow)(this.Rows[index]));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event OrgDetailsRowChangeEventHandler OrgDetailsRowChanging;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event OrgDetailsRowChangeEventHandler OrgDetailsRowChanged;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event OrgDetailsRowChangeEventHandler OrgDetailsRowDeleting;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event OrgDetailsRowChangeEventHandler OrgDetailsRowDeleted;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void AddOrgDetailsRow(OrgDetailsRow row) {
|
|||
|
this.Rows.Add(row);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgDetailsRow AddOrgDetailsRow(string EmployeeID, string EmployeeName, string BossEmployeeID, string EmployeeTitle, string NodeID) {
|
|||
|
OrgDetailsRow rowOrgDetailsRow = ((OrgDetailsRow)(this.NewRow()));
|
|||
|
object[] columnValuesArray = new object[] {
|
|||
|
EmployeeID,
|
|||
|
EmployeeName,
|
|||
|
BossEmployeeID,
|
|||
|
EmployeeTitle,
|
|||
|
NodeID};
|
|||
|
rowOrgDetailsRow.ItemArray = columnValuesArray;
|
|||
|
this.Rows.Add(rowOrgDetailsRow);
|
|||
|
return rowOrgDetailsRow;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgDetailsRow FindByEmployeeID(string EmployeeID) {
|
|||
|
return ((OrgDetailsRow)(this.Rows.Find(new object[] {
|
|||
|
EmployeeID})));
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public override global::System.Data.DataTable Clone() {
|
|||
|
OrgDetailsDataTable cln = ((OrgDetailsDataTable)(base.Clone()));
|
|||
|
cln.InitVars();
|
|||
|
return cln;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Data.DataTable CreateInstance() {
|
|||
|
return new OrgDetailsDataTable();
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal void InitVars() {
|
|||
|
this.columnEmployeeID = base.Columns["EmployeeID"];
|
|||
|
this.columnEmployeeName = base.Columns["EmployeeName"];
|
|||
|
this.columnBossEmployeeID = base.Columns["BossEmployeeID"];
|
|||
|
this.columnEmployeeTitle = base.Columns["EmployeeTitle"];
|
|||
|
this.columnNodeID = base.Columns["NodeID"];
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
private void InitClass() {
|
|||
|
this.columnEmployeeID = new global::System.Data.DataColumn("EmployeeID", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columnEmployeeID);
|
|||
|
this.columnEmployeeName = new global::System.Data.DataColumn("EmployeeName", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columnEmployeeName);
|
|||
|
this.columnBossEmployeeID = new global::System.Data.DataColumn("BossEmployeeID", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columnBossEmployeeID);
|
|||
|
this.columnEmployeeTitle = new global::System.Data.DataColumn("EmployeeTitle", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columnEmployeeTitle);
|
|||
|
this.columnNodeID = new global::System.Data.DataColumn("NodeID", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columnNodeID);
|
|||
|
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|||
|
this.columnEmployeeID}, true));
|
|||
|
this.columnEmployeeID.AllowDBNull = false;
|
|||
|
this.columnEmployeeID.Unique = true;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgDetailsRow NewOrgDetailsRow() {
|
|||
|
return ((OrgDetailsRow)(this.NewRow()));
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|||
|
return new OrgDetailsRow(builder);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Type GetRowType() {
|
|||
|
return typeof(OrgDetailsRow);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowChanged(e);
|
|||
|
if ((this.OrgDetailsRowChanged != null)) {
|
|||
|
this.OrgDetailsRowChanged(this, new OrgDetailsRowChangeEvent(((OrgDetailsRow)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowChanging(e);
|
|||
|
if ((this.OrgDetailsRowChanging != null)) {
|
|||
|
this.OrgDetailsRowChanging(this, new OrgDetailsRowChangeEvent(((OrgDetailsRow)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowDeleted(e);
|
|||
|
if ((this.OrgDetailsRowDeleted != null)) {
|
|||
|
this.OrgDetailsRowDeleted(this, new OrgDetailsRowChangeEvent(((OrgDetailsRow)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowDeleting(e);
|
|||
|
if ((this.OrgDetailsRowDeleting != null)) {
|
|||
|
this.OrgDetailsRowDeleting(this, new OrgDetailsRowChangeEvent(((OrgDetailsRow)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void RemoveOrgDetailsRow(OrgDetailsRow row) {
|
|||
|
this.Rows.Remove(row);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
|
|||
|
OrgData ds = new OrgData();
|
|||
|
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 = "OrgDetailsDataTable";
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Represents the strongly named DataTable class.
|
|||
|
///</summary>
|
|||
|
[global::System.Serializable()]
|
|||
|
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|||
|
public partial class DataTable1DataTable : global::System.Data.TypedTableBase<DataTable1Row> {
|
|||
|
|
|||
|
private global::System.Data.DataColumn columntext;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public DataTable1DataTable() {
|
|||
|
this.TableName = "DataTable1";
|
|||
|
this.BeginInit();
|
|||
|
this.InitClass();
|
|||
|
this.EndInit();
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal DataTable1DataTable(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", "4.0.0.0")]
|
|||
|
protected DataTable1DataTable(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", "4.0.0.0")]
|
|||
|
public global::System.Data.DataColumn textColumn {
|
|||
|
get {
|
|||
|
return this.columntext;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
|
|||
|
public DataTable1Row this[int index] {
|
|||
|
get {
|
|||
|
return ((DataTable1Row)(this.Rows[index]));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event DataTable1RowChangeEventHandler DataTable1RowChanging;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event DataTable1RowChangeEventHandler DataTable1RowChanged;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event DataTable1RowChangeEventHandler DataTable1RowDeleting;
|
|||
|
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public event DataTable1RowChangeEventHandler DataTable1RowDeleted;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void AddDataTable1Row(DataTable1Row row) {
|
|||
|
this.Rows.Add(row);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public DataTable1Row AddDataTable1Row(string text) {
|
|||
|
DataTable1Row rowDataTable1Row = ((DataTable1Row)(this.NewRow()));
|
|||
|
object[] columnValuesArray = new object[] {
|
|||
|
text};
|
|||
|
rowDataTable1Row.ItemArray = columnValuesArray;
|
|||
|
this.Rows.Add(rowDataTable1Row);
|
|||
|
return rowDataTable1Row;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public override global::System.Data.DataTable Clone() {
|
|||
|
DataTable1DataTable cln = ((DataTable1DataTable)(base.Clone()));
|
|||
|
cln.InitVars();
|
|||
|
return cln;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Data.DataTable CreateInstance() {
|
|||
|
return new DataTable1DataTable();
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal void InitVars() {
|
|||
|
this.columntext = base.Columns["text"];
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
private void InitClass() {
|
|||
|
this.columntext = new global::System.Data.DataColumn("text", typeof(string), null, global::System.Data.MappingType.Element);
|
|||
|
base.Columns.Add(this.columntext);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public DataTable1Row NewDataTable1Row() {
|
|||
|
return ((DataTable1Row)(this.NewRow()));
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|||
|
return new DataTable1Row(builder);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override global::System.Type GetRowType() {
|
|||
|
return typeof(DataTable1Row);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowChanged(e);
|
|||
|
if ((this.DataTable1RowChanged != null)) {
|
|||
|
this.DataTable1RowChanged(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowChanging(e);
|
|||
|
if ((this.DataTable1RowChanging != null)) {
|
|||
|
this.DataTable1RowChanging(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowDeleted(e);
|
|||
|
if ((this.DataTable1RowDeleted != null)) {
|
|||
|
this.DataTable1RowDeleted(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|||
|
base.OnRowDeleting(e);
|
|||
|
if ((this.DataTable1RowDeleting != null)) {
|
|||
|
this.DataTable1RowDeleting(this, new DataTable1RowChangeEvent(((DataTable1Row)(e.Row)), e.Action));
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void RemoveDataTable1Row(DataTable1Row row) {
|
|||
|
this.Rows.Remove(row);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
|
|||
|
OrgData ds = new OrgData();
|
|||
|
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 = "DataTable1DataTable";
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Represents strongly named DataRow class.
|
|||
|
///</summary>
|
|||
|
public partial class OrgDetailsRow : global::System.Data.DataRow {
|
|||
|
|
|||
|
private OrgDetailsDataTable tableOrgDetails;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal OrgDetailsRow(global::System.Data.DataRowBuilder rb) :
|
|||
|
base(rb) {
|
|||
|
this.tableOrgDetails = ((OrgDetailsDataTable)(this.Table));
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string EmployeeID {
|
|||
|
get {
|
|||
|
return ((string)(this[this.tableOrgDetails.EmployeeIDColumn]));
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableOrgDetails.EmployeeIDColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string EmployeeName {
|
|||
|
get {
|
|||
|
try {
|
|||
|
return ((string)(this[this.tableOrgDetails.EmployeeNameColumn]));
|
|||
|
}
|
|||
|
catch (global::System.InvalidCastException e) {
|
|||
|
throw new global::System.Data.StrongTypingException("The value for column \'EmployeeName\' in table \'OrgDetails\' is DBNull.", e);
|
|||
|
}
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableOrgDetails.EmployeeNameColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string BossEmployeeID {
|
|||
|
get {
|
|||
|
try {
|
|||
|
return ((string)(this[this.tableOrgDetails.BossEmployeeIDColumn]));
|
|||
|
}
|
|||
|
catch (global::System.InvalidCastException e) {
|
|||
|
throw new global::System.Data.StrongTypingException("The value for column \'BossEmployeeID\' in table \'OrgDetails\' is DBNull.", e);
|
|||
|
}
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableOrgDetails.BossEmployeeIDColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string EmployeeTitle {
|
|||
|
get {
|
|||
|
try {
|
|||
|
return ((string)(this[this.tableOrgDetails.EmployeeTitleColumn]));
|
|||
|
}
|
|||
|
catch (global::System.InvalidCastException e) {
|
|||
|
throw new global::System.Data.StrongTypingException("The value for column \'EmployeeTitle\' in table \'OrgDetails\' is DBNull.", e);
|
|||
|
}
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableOrgDetails.EmployeeTitleColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string NodeID {
|
|||
|
get {
|
|||
|
try {
|
|||
|
return ((string)(this[this.tableOrgDetails.NodeIDColumn]));
|
|||
|
}
|
|||
|
catch (global::System.InvalidCastException e) {
|
|||
|
throw new global::System.Data.StrongTypingException("The value for column \'NodeID\' in table \'OrgDetails\' is DBNull.", e);
|
|||
|
}
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableOrgDetails.NodeIDColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public bool IsEmployeeNameNull() {
|
|||
|
return this.IsNull(this.tableOrgDetails.EmployeeNameColumn);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void SetEmployeeNameNull() {
|
|||
|
this[this.tableOrgDetails.EmployeeNameColumn] = global::System.Convert.DBNull;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public bool IsBossEmployeeIDNull() {
|
|||
|
return this.IsNull(this.tableOrgDetails.BossEmployeeIDColumn);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void SetBossEmployeeIDNull() {
|
|||
|
this[this.tableOrgDetails.BossEmployeeIDColumn] = global::System.Convert.DBNull;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public bool IsEmployeeTitleNull() {
|
|||
|
return this.IsNull(this.tableOrgDetails.EmployeeTitleColumn);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void SetEmployeeTitleNull() {
|
|||
|
this[this.tableOrgDetails.EmployeeTitleColumn] = global::System.Convert.DBNull;
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public bool IsNodeIDNull() {
|
|||
|
return this.IsNull(this.tableOrgDetails.NodeIDColumn);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void SetNodeIDNull() {
|
|||
|
this[this.tableOrgDetails.NodeIDColumn] = global::System.Convert.DBNull;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Represents strongly named DataRow class.
|
|||
|
///</summary>
|
|||
|
public partial class DataTable1Row : global::System.Data.DataRow {
|
|||
|
|
|||
|
private DataTable1DataTable tableDataTable1;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
internal DataTable1Row(global::System.Data.DataRowBuilder rb) :
|
|||
|
base(rb) {
|
|||
|
this.tableDataTable1 = ((DataTable1DataTable)(this.Table));
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public string text {
|
|||
|
get {
|
|||
|
try {
|
|||
|
return ((string)(this[this.tableDataTable1.textColumn]));
|
|||
|
}
|
|||
|
catch (global::System.InvalidCastException e) {
|
|||
|
throw new global::System.Data.StrongTypingException("The value for column \'text\' in table \'DataTable1\' is DBNull.", e);
|
|||
|
}
|
|||
|
}
|
|||
|
set {
|
|||
|
this[this.tableDataTable1.textColumn] = value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public bool IstextNull() {
|
|||
|
return this.IsNull(this.tableDataTable1.textColumn);
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public void SettextNull() {
|
|||
|
this[this.tableDataTable1.textColumn] = global::System.Convert.DBNull;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Row event argument class
|
|||
|
///</summary>
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public class OrgDetailsRowChangeEvent : global::System.EventArgs {
|
|||
|
|
|||
|
private OrgDetailsRow eventRow;
|
|||
|
|
|||
|
private global::System.Data.DataRowAction eventAction;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public OrgDetailsRowChangeEvent(OrgDetailsRow 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", "4.0.0.0")]
|
|||
|
public OrgDetailsRow Row {
|
|||
|
get {
|
|||
|
return this.eventRow;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataRowAction Action {
|
|||
|
get {
|
|||
|
return this.eventAction;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///Row event argument class
|
|||
|
///</summary>
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public class DataTable1RowChangeEvent : global::System.EventArgs {
|
|||
|
|
|||
|
private DataTable1Row eventRow;
|
|||
|
|
|||
|
private global::System.Data.DataRowAction eventAction;
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public DataTable1RowChangeEvent(DataTable1Row 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", "4.0.0.0")]
|
|||
|
public DataTable1Row Row {
|
|||
|
get {
|
|||
|
return this.eventRow;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
|||
|
public global::System.Data.DataRowAction Action {
|
|||
|
get {
|
|||
|
return this.eventAction;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
#pragma warning restore 1591
|