//------------------------------------------------------------------------------
// <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 Common {
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("EmployeesDS")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class EmployeesDS : System.Data.DataSet {
private EmployeesDataTable tableEmployees;
private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesDS() {
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 EmployeesDS(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["Employees"] != null)) {
base.Tables.Add(new EmployeesDataTable(ds.Tables["Employees"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.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 EmployeesDataTable Employees {
get {
return this.tableEmployees;
}
}
[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() {
EmployeesDS cln = ((EmployeesDS)(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["Employees"] != null)) {
base.Tables.Add(new EmployeesDataTable(ds.Tables["Employees"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.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.tableEmployees = ((EmployeesDataTable)(base.Tables["Employees"]));
if ((initTable == true)) {
if ((this.tableEmployees != null)) {
this.tableEmployees.InitVars();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "EmployeesDS";
this.Prefix = "";
this.Namespace = "http://tempuri.org/EmployeesDS.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.tableEmployees = new EmployeesDataTable();
base.Tables.Add(this.tableEmployees);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeEmployees() {
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) {
EmployeesDS ds = new EmployeesDS();
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 EmployeesRowChangeEventHandler(object sender, EmployeesRowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class EmployeesDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnEmployeeID;
private System.Data.DataColumn columnLastName;
private System.Data.DataColumn columnFirstName;
private System.Data.DataColumn columnTitle;
private System.Data.DataColumn columnTitleOfCourtesy;
private System.Data.DataColumn columnBirthDate;
private System.Data.DataColumn columnHireDate;
private System.Data.DataColumn columnAddress;
private System.Data.DataColumn columnCity;
private System.Data.DataColumn columnRegion;
private System.Data.DataColumn columnPostalCode;
private System.Data.DataColumn columnCountry;
private System.Data.DataColumn columnHomePhone;
private System.Data.DataColumn columnExtension;
private System.Data.DataColumn columnPhoto;
private System.Data.DataColumn columnNotes;
private System.Data.DataColumn columnReportsTo;
private System.Data.DataColumn columnReportsTo_LastName;
private System.Data.DataColumn columnReportsTo_FirstName;
private System.Data.DataColumn columnPhotoPath;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesDataTable() {
this.TableName = "Employees";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal EmployeesDataTable(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 EmployeesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn EmployeeIDColumn {
get {
return this.columnEmployeeID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn LastNameColumn {
get {
return this.columnLastName;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FirstNameColumn {
get {
return this.columnFirstName;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn TitleColumn {
get {
return this.columnTitle;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn TitleOfCourtesyColumn {
get {
return this.columnTitleOfCourtesy;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn BirthDateColumn {
get {
return this.columnBirthDate;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn HireDateColumn {
get {
return this.columnHireDate;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn AddressColumn {
get {
return this.columnAddress;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CityColumn {
get {
return this.columnCity;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn RegionColumn {
get {
return this.columnRegion;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn PostalCodeColumn {
get {
return this.columnPostalCode;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CountryColumn {
get {
return this.columnCountry;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn HomePhoneColumn {
get {
return this.columnHomePhone;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ExtensionColumn {
get {
return this.columnExtension;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn PhotoColumn {
get {
return this.columnPhoto;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NotesColumn {
get {
return this.columnNotes;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ReportsToColumn {
get {
return this.columnReportsTo;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ReportsTo_LastNameColumn {
get {
return this.columnReportsTo_LastName;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ReportsTo_FirstNameColumn {
get {
return this.columnReportsTo_FirstName;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn PhotoPathColumn {
get {
return this.columnPhotoPath;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow this[int index] {
get {
return ((EmployeesRow)(this.Rows[index]));
}
}
public event EmployeesRowChangeEventHandler EmployeesRowChanging;
public event EmployeesRowChangeEventHandler EmployeesRowChanged;
public event EmployeesRowChangeEventHandler EmployeesRowDeleting;
public event EmployeesRowChangeEventHandler EmployeesRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddEmployeesRow(EmployeesRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow AddEmployeesRow(
string LastName,
string FirstName,
string Title,
string TitleOfCourtesy,
System.DateTime BirthDate,
System.DateTime HireDate,
string Address,
string City,
string Region,
string PostalCode,
string Country,
string HomePhone,
string Extension,
byte[] Photo,
string Notes,
int ReportsTo,
string ReportsTo_LastName,
string ReportsTo_FirstName,
string PhotoPath) {
EmployeesRow rowEmployeesRow = ((EmployeesRow)(this.NewRow()));
rowEmployeesRow.ItemArray = new object[] {
null,
LastName,
FirstName,
Title,
TitleOfCourtesy,
BirthDate,
HireDate,
Address,
City,
Region,
PostalCode,
Country,
HomePhone,
Extension,
Photo,
Notes,
ReportsTo,
ReportsTo_LastName,
ReportsTo_FirstName,
PhotoPath};
this.Rows.Add(rowEmployeesRow);
return rowEmployeesRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow FindByEmployeeID(int EmployeeID) {
return ((EmployeesRow)(this.Rows.Find(new object[] {
EmployeeID})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
EmployeesDataTable cln = ((EmployeesDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new EmployeesDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnEmployeeID = base.Columns["EmployeeID"];
this.columnLastName = base.Columns["LastName"];
this.columnFirstName = base.Columns["FirstName"];
this.columnTitle = base.Columns["Title"];
this.columnTitleOfCourtesy = base.Columns["TitleOfCourtesy"];
this.columnBirthDate = base.Columns["BirthDate"];
this.columnHireDate = base.Columns["HireDate"];
this.columnAddress = base.Columns["Address"];
this.columnCity = base.Columns["City"];
this.columnRegion = base.Columns["Region"];
this.columnPostalCode = base.Columns["PostalCode"];
this.columnCountry = base.Columns["Country"];
this.columnHomePhone = base.Columns["HomePhone"];
this.columnExtension = base.Columns["Extension"];
this.columnPhoto = base.Columns["Photo"];
this.columnNotes = base.Columns["Notes"];
this.columnReportsTo = base.Columns["ReportsTo"];
this.columnReportsTo_LastName = base.Columns["ReportsTo_LastName"];
this.columnReportsTo_FirstName = base.Columns["ReportsTo_FirstName"];
this.columnPhotoPath = base.Columns["PhotoPath"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnEmployeeID = new System.Data.DataColumn("EmployeeID", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnEmployeeID);
this.columnLastName = new System.Data.DataColumn("LastName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnLastName);
this.columnFirstName = new System.Data.DataColumn("FirstName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFirstName);
this.columnTitle = new System.Data.DataColumn("Title", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnTitle);
this.columnTitleOfCourtesy = new System.Data.DataColumn("TitleOfCourtesy", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnTitleOfCourtesy);
this.columnBirthDate = new System.Data.DataColumn("BirthDate", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnBirthDate);
this.columnHireDate = new System.Data.DataColumn("HireDate", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnHireDate);
this.columnAddress = new System.Data.DataColumn("Address", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnAddress);
this.columnCity = new System.Data.DataColumn("City", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnCity);
this.columnRegion = new System.Data.DataColumn("Region", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnRegion);
this.columnPostalCode = new System.Data.DataColumn("PostalCode", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnPostalCode);
this.columnCountry = new System.Data.DataColumn("Country", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnCountry);
this.columnHomePhone = new System.Data.DataColumn("HomePhone", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnHomePhone);
this.columnExtension = new System.Data.DataColumn("Extension", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnExtension);
this.columnPhoto = new System.Data.DataColumn("Photo", typeof(byte[]), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnPhoto);
this.columnNotes = new System.Data.DataColumn("Notes", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNotes);
this.columnReportsTo = new System.Data.DataColumn("ReportsTo", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnReportsTo);
this.columnReportsTo_LastName = new System.Data.DataColumn("ReportsTo_LastName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnReportsTo_LastName);
this.columnReportsTo_FirstName = new System.Data.DataColumn("ReportsTo_FirstName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnReportsTo_FirstName);
this.columnPhotoPath = new System.Data.DataColumn("PhotoPath", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnPhotoPath);
this.Constraints.Add(new System.Data.UniqueConstraint("EmployeesPK", new System.Data.DataColumn[] {
this.columnEmployeeID}, true));
this.columnEmployeeID.AutoIncrement = true;
this.columnEmployeeID.AllowDBNull = false;
this.columnEmployeeID.Unique = true;
this.columnTitle.AllowDBNull = false;
this.columnTitleOfCourtesy.AllowDBNull = false;
this.columnBirthDate.AllowDBNull = false;
this.columnHireDate.AllowDBNull = false;
this.columnAddress.AllowDBNull = false;
this.columnCity.AllowDBNull = false;
this.columnRegion.AllowDBNull = false;
this.columnPostalCode.AllowDBNull = false;
this.columnCountry.AllowDBNull = false;
this.columnHomePhone.AllowDBNull = false;
this.columnExtension.AllowDBNull = false;
this.columnPhoto.AllowDBNull = false;
this.columnNotes.AllowDBNull = false;
this.columnReportsTo.AllowDBNull = false;
this.columnPhotoPath.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow NewEmployeesRow() {
return ((EmployeesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new EmployeesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(EmployeesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.EmployeesRowChanged != null)) {
this.EmployeesRowChanged(this, new EmployeesRowChangeEvent(((EmployeesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.EmployeesRowChanging != null)) {
this.EmployeesRowChanging(this, new EmployeesRowChangeEvent(((EmployeesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.EmployeesRowDeleted != null)) {
this.EmployeesRowDeleted(this, new EmployeesRowChangeEvent(((EmployeesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.EmployeesRowDeleting != null)) {
this.EmployeesRowDeleting(this, new EmployeesRowChangeEvent(((EmployeesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveEmployeesRow(EmployeesRow 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();
EmployeesDS ds = new EmployeesDS();
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 = "EmployeesDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class EmployeesRow : System.Data.DataRow {
private EmployeesDataTable tableEmployees;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal EmployeesRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableEmployees = ((EmployeesDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int EmployeeID {
get {
return ((int)(this[this.tableEmployees.EmployeeIDColumn]));
}
set {
this[this.tableEmployees.EmployeeIDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string LastName {
get {
if (this.IsLastNameNull()) {
return null;
}
else {
return ((string)(this[this.tableEmployees.LastNameColumn]));
}
}
set {
this[this.tableEmployees.LastNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FirstName {
get {
if (this.IsFirstNameNull()) {
return null;
}
else {
return ((string)(this[this.tableEmployees.FirstNameColumn]));
}
}
set {
this[this.tableEmployees.FirstNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Title {
get {
return ((string)(this[this.tableEmployees.TitleColumn]));
}
set {
this[this.tableEmployees.TitleColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string TitleOfCourtesy {
get {
return ((string)(this[this.tableEmployees.TitleOfCourtesyColumn]));
}
set {
this[this.tableEmployees.TitleOfCourtesyColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime BirthDate {
get {
return ((System.DateTime)(this[this.tableEmployees.BirthDateColumn]));
}
set {
this[this.tableEmployees.BirthDateColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.DateTime HireDate {
get {
return ((System.DateTime)(this[this.tableEmployees.HireDateColumn]));
}
set {
this[this.tableEmployees.HireDateColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Address {
get {
return ((string)(this[this.tableEmployees.AddressColumn]));
}
set {
this[this.tableEmployees.AddressColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string City {
get {
return ((string)(this[this.tableEmployees.CityColumn]));
}
set {
this[this.tableEmployees.CityColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Region {
get {
return ((string)(this[this.tableEmployees.RegionColumn]));
}
set {
this[this.tableEmployees.RegionColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string PostalCode {
get {
return ((string)(this[this.tableEmployees.PostalCodeColumn]));
}
set {
this[this.tableEmployees.PostalCodeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Country {
get {
return ((string)(this[this.tableEmployees.CountryColumn]));
}
set {
this[this.tableEmployees.CountryColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string HomePhone {
get {
return ((string)(this[this.tableEmployees.HomePhoneColumn]));
}
set {
this[this.tableEmployees.HomePhoneColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Extension {
get {
return ((string)(this[this.tableEmployees.ExtensionColumn]));
}
set {
this[this.tableEmployees.ExtensionColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public byte[] Photo {
get {
return ((byte[])(this[this.tableEmployees.PhotoColumn]));
}
set {
this[this.tableEmployees.PhotoColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Notes {
get {
return ((string)(this[this.tableEmployees.NotesColumn]));
}
set {
this[this.tableEmployees.NotesColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int ReportsTo {
get {
return ((int)(this[this.tableEmployees.ReportsToColumn]));
}
set {
this[this.tableEmployees.ReportsToColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ReportsTo_LastName {
get {
if (this.IsReportsTo_LastNameNull()) {
return null;
}
else {
return ((string)(this[this.tableEmployees.ReportsTo_LastNameColumn]));
}
}
set {
this[this.tableEmployees.ReportsTo_LastNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ReportsTo_FirstName {
get {
if (this.IsReportsTo_FirstNameNull()) {
return null;
}
else {
return ((string)(this[this.tableEmployees.ReportsTo_FirstNameColumn]));
}
}
set {
this[this.tableEmployees.ReportsTo_FirstNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string PhotoPath {
get {
return ((string)(this[this.tableEmployees.PhotoPathColumn]));
}
set {
this[this.tableEmployees.PhotoPathColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsLastNameNull() {
return this.IsNull(this.tableEmployees.LastNameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetLastNameNull() {
this[this.tableEmployees.LastNameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFirstNameNull() {
return this.IsNull(this.tableEmployees.FirstNameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFirstNameNull() {
this[this.tableEmployees.FirstNameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsReportsTo_LastNameNull() {
return this.IsNull(this.tableEmployees.ReportsTo_LastNameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetReportsTo_LastNameNull() {
this[this.tableEmployees.ReportsTo_LastNameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsReportsTo_FirstNameNull() {
return this.IsNull(this.tableEmployees.ReportsTo_FirstNameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetReportsTo_FirstNameNull() {
this[this.tableEmployees.ReportsTo_FirstNameColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class EmployeesRowChangeEvent : System.EventArgs {
private EmployeesRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRowChangeEvent(EmployeesRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EmployeesRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591