| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/New folder/New folder/software/schedule/schedule/schedule/ |
Upload File : |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace schedule {
/// <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("smartsmsrouterDataSet")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class smartsmsrouterDataSet : global::System.Data.DataSet {
private accounthistoryDataTable tableaccounthistory;
private addressbookDataTable tableaddressbook;
private loginhistoryDataTable tableloginhistory;
private messagesentDataTable tablemessagesent;
private messagesentaddressbookDataTable tablemessagesentaddressbook;
private messagesentsingleDataTable tablemessagesentsingle;
private messagestateDataTable tablemessagestate;
private messagestatusDataTable tablemessagestatus;
private messagestatussmppDataTable tablemessagestatussmpp;
private routingDataTable tablerouting;
private routingdetailsDataTable tableroutingdetails;
private scheduleDataTable tableschedule;
private smsaccountDataTable tablesmsaccount;
private smsprofileDataTable tablesmsprofile;
private statusDataTable tablestatus;
private userloginDataTable tableuserlogin;
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 smartsmsrouterDataSet() {
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 smartsmsrouterDataSet(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["accounthistory"] != null)) {
base.Tables.Add(new accounthistoryDataTable(ds.Tables["accounthistory"]));
}
if ((ds.Tables["addressbook"] != null)) {
base.Tables.Add(new addressbookDataTable(ds.Tables["addressbook"]));
}
if ((ds.Tables["loginhistory"] != null)) {
base.Tables.Add(new loginhistoryDataTable(ds.Tables["loginhistory"]));
}
if ((ds.Tables["messagesent"] != null)) {
base.Tables.Add(new messagesentDataTable(ds.Tables["messagesent"]));
}
if ((ds.Tables["messagesentaddressbook"] != null)) {
base.Tables.Add(new messagesentaddressbookDataTable(ds.Tables["messagesentaddressbook"]));
}
if ((ds.Tables["messagesentsingle"] != null)) {
base.Tables.Add(new messagesentsingleDataTable(ds.Tables["messagesentsingle"]));
}
if ((ds.Tables["messagestate"] != null)) {
base.Tables.Add(new messagestateDataTable(ds.Tables["messagestate"]));
}
if ((ds.Tables["messagestatus"] != null)) {
base.Tables.Add(new messagestatusDataTable(ds.Tables["messagestatus"]));
}
if ((ds.Tables["messagestatussmpp"] != null)) {
base.Tables.Add(new messagestatussmppDataTable(ds.Tables["messagestatussmpp"]));
}
if ((ds.Tables["routing"] != null)) {
base.Tables.Add(new routingDataTable(ds.Tables["routing"]));
}
if ((ds.Tables["routingdetails"] != null)) {
base.Tables.Add(new routingdetailsDataTable(ds.Tables["routingdetails"]));
}
if ((ds.Tables["schedule"] != null)) {
base.Tables.Add(new scheduleDataTable(ds.Tables["schedule"]));
}
if ((ds.Tables["smsaccount"] != null)) {
base.Tables.Add(new smsaccountDataTable(ds.Tables["smsaccount"]));
}
if ((ds.Tables["smsprofile"] != null)) {
base.Tables.Add(new smsprofileDataTable(ds.Tables["smsprofile"]));
}
if ((ds.Tables["status"] != null)) {
base.Tables.Add(new statusDataTable(ds.Tables["status"]));
}
if ((ds.Tables["userlogin"] != null)) {
base.Tables.Add(new userloginDataTable(ds.Tables["userlogin"]));
}
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 accounthistoryDataTable accounthistory {
get {
return this.tableaccounthistory;
}
}
[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 addressbookDataTable addressbook {
get {
return this.tableaddressbook;
}
}
[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 loginhistoryDataTable loginhistory {
get {
return this.tableloginhistory;
}
}
[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 messagesentDataTable messagesent {
get {
return this.tablemessagesent;
}
}
[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 messagesentaddressbookDataTable messagesentaddressbook {
get {
return this.tablemessagesentaddressbook;
}
}
[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 messagesentsingleDataTable messagesentsingle {
get {
return this.tablemessagesentsingle;
}
}
[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 messagestateDataTable messagestate {
get {
return this.tablemessagestate;
}
}
[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 messagestatusDataTable messagestatus {
get {
return this.tablemessagestatus;
}
}
[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 messagestatussmppDataTable messagestatussmpp {
get {
return this.tablemessagestatussmpp;
}
}
[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 routingDataTable routing {
get {
return this.tablerouting;
}
}
[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 routingdetailsDataTable routingdetails {
get {
return this.tableroutingdetails;
}
}
[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 scheduleDataTable schedule {
get {
return this.tableschedule;
}
}
[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 smsaccountDataTable smsaccount {
get {
return this.tablesmsaccount;
}
}
[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 smsprofileDataTable smsprofile {
get {
return this.tablesmsprofile;
}
}
[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 statusDataTable status {
get {
return this.tablestatus;
}
}
[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 userloginDataTable userlogin {
get {
return this.tableuserlogin;
}
}
[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() {
smartsmsrouterDataSet cln = ((smartsmsrouterDataSet)(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["accounthistory"] != null)) {
base.Tables.Add(new accounthistoryDataTable(ds.Tables["accounthistory"]));
}
if ((ds.Tables["addressbook"] != null)) {
base.Tables.Add(new addressbookDataTable(ds.Tables["addressbook"]));
}
if ((ds.Tables["loginhistory"] != null)) {
base.Tables.Add(new loginhistoryDataTable(ds.Tables["loginhistory"]));
}
if ((ds.Tables["messagesent"] != null)) {
base.Tables.Add(new messagesentDataTable(ds.Tables["messagesent"]));
}
if ((ds.Tables["messagesentaddressbook"] != null)) {
base.Tables.Add(new messagesentaddressbookDataTable(ds.Tables["messagesentaddressbook"]));
}
if ((ds.Tables["messagesentsingle"] != null)) {
base.Tables.Add(new messagesentsingleDataTable(ds.Tables["messagesentsingle"]));
}
if ((ds.Tables["messagestate"] != null)) {
base.Tables.Add(new messagestateDataTable(ds.Tables["messagestate"]));
}
if ((ds.Tables["messagestatus"] != null)) {
base.Tables.Add(new messagestatusDataTable(ds.Tables["messagestatus"]));
}
if ((ds.Tables["messagestatussmpp"] != null)) {
base.Tables.Add(new messagestatussmppDataTable(ds.Tables["messagestatussmpp"]));
}
if ((ds.Tables["routing"] != null)) {
base.Tables.Add(new routingDataTable(ds.Tables["routing"]));
}
if ((ds.Tables["routingdetails"] != null)) {
base.Tables.Add(new routingdetailsDataTable(ds.Tables["routingdetails"]));
}
if ((ds.Tables["schedule"] != null)) {
base.Tables.Add(new scheduleDataTable(ds.Tables["schedule"]));
}
if ((ds.Tables["smsaccount"] != null)) {
base.Tables.Add(new smsaccountDataTable(ds.Tables["smsaccount"]));
}
if ((ds.Tables["smsprofile"] != null)) {
base.Tables.Add(new smsprofileDataTable(ds.Tables["smsprofile"]));
}
if ((ds.Tables["status"] != null)) {
base.Tables.Add(new statusDataTable(ds.Tables["status"]));
}
if ((ds.Tables["userlogin"] != null)) {
base.Tables.Add(new userloginDataTable(ds.Tables["userlogin"]));
}
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.tableaccounthistory = ((accounthistoryDataTable)(base.Tables["accounthistory"]));
if ((initTable == true)) {
if ((this.tableaccounthistory != null)) {
this.tableaccounthistory.InitVars();
}
}
this.tableaddressbook = ((addressbookDataTable)(base.Tables["addressbook"]));
if ((initTable == true)) {
if ((this.tableaddressbook != null)) {
this.tableaddressbook.InitVars();
}
}
this.tableloginhistory = ((loginhistoryDataTable)(base.Tables["loginhistory"]));
if ((initTable == true)) {
if ((this.tableloginhistory != null)) {
this.tableloginhistory.InitVars();
}
}
this.tablemessagesent = ((messagesentDataTable)(base.Tables["messagesent"]));
if ((initTable == true)) {
if ((this.tablemessagesent != null)) {
this.tablemessagesent.InitVars();
}
}
this.tablemessagesentaddressbook = ((messagesentaddressbookDataTable)(base.Tables["messagesentaddressbook"]));
if ((initTable == true)) {
if ((this.tablemessagesentaddressbook != null)) {
this.tablemessagesentaddressbook.InitVars();
}
}
this.tablemessagesentsingle = ((messagesentsingleDataTable)(base.Tables["messagesentsingle"]));
if ((initTable == true)) {
if ((this.tablemessagesentsingle != null)) {
this.tablemessagesentsingle.InitVars();
}
}
this.tablemessagestate = ((messagestateDataTable)(base.Tables["messagestate"]));
if ((initTable == true)) {
if ((this.tablemessagestate != null)) {
this.tablemessagestate.InitVars();
}
}
this.tablemessagestatus = ((messagestatusDataTable)(base.Tables["messagestatus"]));
if ((initTable == true)) {
if ((this.tablemessagestatus != null)) {
this.tablemessagestatus.InitVars();
}
}
this.tablemessagestatussmpp = ((messagestatussmppDataTable)(base.Tables["messagestatussmpp"]));
if ((initTable == true)) {
if ((this.tablemessagestatussmpp != null)) {
this.tablemessagestatussmpp.InitVars();
}
}
this.tablerouting = ((routingDataTable)(base.Tables["routing"]));
if ((initTable == true)) {
if ((this.tablerouting != null)) {
this.tablerouting.InitVars();
}
}
this.tableroutingdetails = ((routingdetailsDataTable)(base.Tables["routingdetails"]));
if ((initTable == true)) {
if ((this.tableroutingdetails != null)) {
this.tableroutingdetails.InitVars();
}
}
this.tableschedule = ((scheduleDataTable)(base.Tables["schedule"]));
if ((initTable == true)) {
if ((this.tableschedule != null)) {
this.tableschedule.InitVars();
}
}
this.tablesmsaccount = ((smsaccountDataTable)(base.Tables["smsaccount"]));
if ((initTable == true)) {
if ((this.tablesmsaccount != null)) {
this.tablesmsaccount.InitVars();
}
}
this.tablesmsprofile = ((smsprofileDataTable)(base.Tables["smsprofile"]));
if ((initTable == true)) {
if ((this.tablesmsprofile != null)) {
this.tablesmsprofile.InitVars();
}
}
this.tablestatus = ((statusDataTable)(base.Tables["status"]));
if ((initTable == true)) {
if ((this.tablestatus != null)) {
this.tablestatus.InitVars();
}
}
this.tableuserlogin = ((userloginDataTable)(base.Tables["userlogin"]));
if ((initTable == true)) {
if ((this.tableuserlogin != null)) {
this.tableuserlogin.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.DataSetName = "smartsmsrouterDataSet";
this.Prefix = "";
this.Namespace = "http://tempuri.org/smartsmsrouterDataSet.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tableaccounthistory = new accounthistoryDataTable();
base.Tables.Add(this.tableaccounthistory);
this.tableaddressbook = new addressbookDataTable();
base.Tables.Add(this.tableaddressbook);
this.tableloginhistory = new loginhistoryDataTable();
base.Tables.Add(this.tableloginhistory);
this.tablemessagesent = new messagesentDataTable();
base.Tables.Add(this.tablemessagesent);
this.tablemessagesentaddressbook = new messagesentaddressbookDataTable();
base.Tables.Add(this.tablemessagesentaddressbook);
this.tablemessagesentsingle = new messagesentsingleDataTable();
base.Tables.Add(this.tablemessagesentsingle);
this.tablemessagestate = new messagestateDataTable();
base.Tables.Add(this.tablemessagestate);
this.tablemessagestatus = new messagestatusDataTable();
base.Tables.Add(this.tablemessagestatus);
this.tablemessagestatussmpp = new messagestatussmppDataTable();
base.Tables.Add(this.tablemessagestatussmpp);
this.tablerouting = new routingDataTable();
base.Tables.Add(this.tablerouting);
this.tableroutingdetails = new routingdetailsDataTable();
base.Tables.Add(this.tableroutingdetails);
this.tableschedule = new scheduleDataTable();
base.Tables.Add(this.tableschedule);
this.tablesmsaccount = new smsaccountDataTable();
base.Tables.Add(this.tablesmsaccount);
this.tablesmsprofile = new smsprofileDataTable();
base.Tables.Add(this.tablesmsprofile);
this.tablestatus = new statusDataTable();
base.Tables.Add(this.tablestatus);
this.tableuserlogin = new userloginDataTable();
base.Tables.Add(this.tableuserlogin);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeaccounthistory() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeaddressbook() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeloginhistory() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagesent() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagesentaddressbook() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagesentsingle() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagestate() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagestatus() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializemessagestatussmpp() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializerouting() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeroutingdetails() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeschedule() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializesmsaccount() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializesmsprofile() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializestatus() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeuserlogin() {
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) {
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 accounthistoryRowChangeEventHandler(object sender, accounthistoryRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void addressbookRowChangeEventHandler(object sender, addressbookRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void loginhistoryRowChangeEventHandler(object sender, loginhistoryRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagesentRowChangeEventHandler(object sender, messagesentRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagesentaddressbookRowChangeEventHandler(object sender, messagesentaddressbookRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagesentsingleRowChangeEventHandler(object sender, messagesentsingleRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagestateRowChangeEventHandler(object sender, messagestateRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagestatusRowChangeEventHandler(object sender, messagestatusRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void messagestatussmppRowChangeEventHandler(object sender, messagestatussmppRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void routingRowChangeEventHandler(object sender, routingRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void routingdetailsRowChangeEventHandler(object sender, routingdetailsRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void scheduleRowChangeEventHandler(object sender, scheduleRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void smsaccountRowChangeEventHandler(object sender, smsaccountRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void smsprofileRowChangeEventHandler(object sender, smsprofileRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void statusRowChangeEventHandler(object sender, statusRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void userloginRowChangeEventHandler(object sender, userloginRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class accounthistoryDataTable : global::System.Data.TypedTableBase<accounthistoryRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columntransid;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnoldbal;
private global::System.Data.DataColumn columnamtcharged;
private global::System.Data.DataColumn columnnewbal;
private global::System.Data.DataColumn columnPage;
private global::System.Data.DataColumn columngateway;
private global::System.Data.DataColumn columndateused;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public accounthistoryDataTable() {
this.TableName = "accounthistory";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal accounthistoryDataTable(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 accounthistoryDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn transidColumn {
get {
return this.columntransid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn oldbalColumn {
get {
return this.columnoldbal;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn amtchargedColumn {
get {
return this.columnamtcharged;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn newbalColumn {
get {
return this.columnnewbal;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PageColumn {
get {
return this.columnPage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn gatewayColumn {
get {
return this.columngateway;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[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 accounthistoryRow this[int index] {
get {
return ((accounthistoryRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event accounthistoryRowChangeEventHandler accounthistoryRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event accounthistoryRowChangeEventHandler accounthistoryRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event accounthistoryRowChangeEventHandler accounthistoryRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event accounthistoryRowChangeEventHandler accounthistoryRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddaccounthistoryRow(accounthistoryRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public accounthistoryRow AddaccounthistoryRow(string transid, string username, decimal oldbal, decimal amtcharged, decimal newbal, string Page, string gateway, System.DateTime dateused) {
accounthistoryRow rowaccounthistoryRow = ((accounthistoryRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
transid,
username,
oldbal,
amtcharged,
newbal,
Page,
gateway,
dateused};
rowaccounthistoryRow.ItemArray = columnValuesArray;
this.Rows.Add(rowaccounthistoryRow);
return rowaccounthistoryRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public accounthistoryRow FindBysn(int sn) {
return ((accounthistoryRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
accounthistoryDataTable cln = ((accounthistoryDataTable)(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 accounthistoryDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columntransid = base.Columns["transid"];
this.columnusername = base.Columns["username"];
this.columnoldbal = base.Columns["oldbal"];
this.columnamtcharged = base.Columns["amtcharged"];
this.columnnewbal = base.Columns["newbal"];
this.columnPage = base.Columns["Page"];
this.columngateway = base.Columns["gateway"];
this.columndateused = base.Columns["dateused"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columntransid = new global::System.Data.DataColumn("transid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntransid);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnoldbal = new global::System.Data.DataColumn("oldbal", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnoldbal);
this.columnamtcharged = new global::System.Data.DataColumn("amtcharged", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnamtcharged);
this.columnnewbal = new global::System.Data.DataColumn("newbal", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnnewbal);
this.columnPage = new global::System.Data.DataColumn("Page", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPage);
this.columngateway = new global::System.Data.DataColumn("gateway", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columngateway);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columntransid.AllowDBNull = false;
this.columntransid.MaxLength = 30;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnoldbal.AllowDBNull = false;
this.columnamtcharged.AllowDBNull = false;
this.columnnewbal.AllowDBNull = false;
this.columnPage.AllowDBNull = false;
this.columnPage.MaxLength = 2;
this.columngateway.AllowDBNull = false;
this.columngateway.MaxLength = 2;
this.columndateused.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public accounthistoryRow NewaccounthistoryRow() {
return ((accounthistoryRow)(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 accounthistoryRow(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(accounthistoryRow);
}
[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.accounthistoryRowChanged != null)) {
this.accounthistoryRowChanged(this, new accounthistoryRowChangeEvent(((accounthistoryRow)(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.accounthistoryRowChanging != null)) {
this.accounthistoryRowChanging(this, new accounthistoryRowChangeEvent(((accounthistoryRow)(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.accounthistoryRowDeleted != null)) {
this.accounthistoryRowDeleted(this, new accounthistoryRowChangeEvent(((accounthistoryRow)(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.accounthistoryRowDeleting != null)) {
this.accounthistoryRowDeleting(this, new accounthistoryRowChangeEvent(((accounthistoryRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveaccounthistoryRow(accounthistoryRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "accounthistoryDataTable";
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 addressbookDataTable : global::System.Data.TypedTableBase<addressbookRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnbookname;
private global::System.Data.DataColumn columnphonenumber;
private global::System.Data.DataColumn columnfield1;
private global::System.Data.DataColumn columnfield2;
private global::System.Data.DataColumn columnfield3;
private global::System.Data.DataColumn columnfield4;
private global::System.Data.DataColumn columnfield5;
private global::System.Data.DataColumn columndateused;
private global::System.Data.DataColumn columndomain;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public addressbookDataTable() {
this.TableName = "addressbook";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal addressbookDataTable(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 addressbookDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn booknameColumn {
get {
return this.columnbookname;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn phonenumberColumn {
get {
return this.columnphonenumber;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn field1Column {
get {
return this.columnfield1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn field2Column {
get {
return this.columnfield2;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn field3Column {
get {
return this.columnfield3;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn field4Column {
get {
return this.columnfield4;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn field5Column {
get {
return this.columnfield5;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn domainColumn {
get {
return this.columndomain;
}
}
[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 addressbookRow this[int index] {
get {
return ((addressbookRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event addressbookRowChangeEventHandler addressbookRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event addressbookRowChangeEventHandler addressbookRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event addressbookRowChangeEventHandler addressbookRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event addressbookRowChangeEventHandler addressbookRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddaddressbookRow(addressbookRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public addressbookRow AddaddressbookRow(string username, string bookname, string phonenumber, string field1, string field2, string field3, string field4, string field5, System.DateTime dateused, string domain) {
addressbookRow rowaddressbookRow = ((addressbookRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
bookname,
phonenumber,
field1,
field2,
field3,
field4,
field5,
dateused,
domain};
rowaddressbookRow.ItemArray = columnValuesArray;
this.Rows.Add(rowaddressbookRow);
return rowaddressbookRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public addressbookRow FindBysn(int sn) {
return ((addressbookRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
addressbookDataTable cln = ((addressbookDataTable)(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 addressbookDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnbookname = base.Columns["bookname"];
this.columnphonenumber = base.Columns["phonenumber"];
this.columnfield1 = base.Columns["field1"];
this.columnfield2 = base.Columns["field2"];
this.columnfield3 = base.Columns["field3"];
this.columnfield4 = base.Columns["field4"];
this.columnfield5 = base.Columns["field5"];
this.columndateused = base.Columns["dateused"];
this.columndomain = base.Columns["domain"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnbookname = new global::System.Data.DataColumn("bookname", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbookname);
this.columnphonenumber = new global::System.Data.DataColumn("phonenumber", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnphonenumber);
this.columnfield1 = new global::System.Data.DataColumn("field1", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfield1);
this.columnfield2 = new global::System.Data.DataColumn("field2", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfield2);
this.columnfield3 = new global::System.Data.DataColumn("field3", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfield3);
this.columnfield4 = new global::System.Data.DataColumn("field4", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfield4);
this.columnfield5 = new global::System.Data.DataColumn("field5", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfield5);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.columndomain = new global::System.Data.DataColumn("domain", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndomain);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnbookname.AllowDBNull = false;
this.columnbookname.MaxLength = 50;
this.columnphonenumber.AllowDBNull = false;
this.columnphonenumber.MaxLength = 20;
this.columnfield1.AllowDBNull = false;
this.columnfield1.MaxLength = 20;
this.columnfield2.AllowDBNull = false;
this.columnfield2.MaxLength = 20;
this.columnfield3.AllowDBNull = false;
this.columnfield3.MaxLength = 20;
this.columnfield4.AllowDBNull = false;
this.columnfield4.MaxLength = 20;
this.columnfield5.AllowDBNull = false;
this.columnfield5.MaxLength = 20;
this.columndateused.AllowDBNull = false;
this.columndomain.AllowDBNull = false;
this.columndomain.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public addressbookRow NewaddressbookRow() {
return ((addressbookRow)(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 addressbookRow(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(addressbookRow);
}
[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.addressbookRowChanged != null)) {
this.addressbookRowChanged(this, new addressbookRowChangeEvent(((addressbookRow)(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.addressbookRowChanging != null)) {
this.addressbookRowChanging(this, new addressbookRowChangeEvent(((addressbookRow)(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.addressbookRowDeleted != null)) {
this.addressbookRowDeleted(this, new addressbookRowChangeEvent(((addressbookRow)(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.addressbookRowDeleting != null)) {
this.addressbookRowDeleting(this, new addressbookRowChangeEvent(((addressbookRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveaddressbookRow(addressbookRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "addressbookDataTable";
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 loginhistoryDataTable : global::System.Data.TypedTableBase<loginhistoryRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnpass;
private global::System.Data.DataColumn columnclientRemoteIP;
private global::System.Data.DataColumn columndatesent;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public loginhistoryDataTable() {
this.TableName = "loginhistory";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal loginhistoryDataTable(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 loginhistoryDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn passColumn {
get {
return this.columnpass;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn clientRemoteIPColumn {
get {
return this.columnclientRemoteIP;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn datesentColumn {
get {
return this.columndatesent;
}
}
[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 loginhistoryRow this[int index] {
get {
return ((loginhistoryRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event loginhistoryRowChangeEventHandler loginhistoryRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event loginhistoryRowChangeEventHandler loginhistoryRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event loginhistoryRowChangeEventHandler loginhistoryRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event loginhistoryRowChangeEventHandler loginhistoryRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddloginhistoryRow(loginhistoryRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public loginhistoryRow AddloginhistoryRow(string username, string pass, string clientRemoteIP, System.DateTime datesent) {
loginhistoryRow rowloginhistoryRow = ((loginhistoryRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
pass,
clientRemoteIP,
datesent};
rowloginhistoryRow.ItemArray = columnValuesArray;
this.Rows.Add(rowloginhistoryRow);
return rowloginhistoryRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public loginhistoryRow FindBysn(int sn) {
return ((loginhistoryRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
loginhistoryDataTable cln = ((loginhistoryDataTable)(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 loginhistoryDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnpass = base.Columns["pass"];
this.columnclientRemoteIP = base.Columns["clientRemoteIP"];
this.columndatesent = base.Columns["datesent"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnpass = new global::System.Data.DataColumn("pass", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpass);
this.columnclientRemoteIP = new global::System.Data.DataColumn("clientRemoteIP", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnclientRemoteIP);
this.columndatesent = new global::System.Data.DataColumn("datesent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndatesent);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnpass.AllowDBNull = false;
this.columnpass.MaxLength = 40;
this.columnclientRemoteIP.AllowDBNull = false;
this.columnclientRemoteIP.MaxLength = 10;
this.columndatesent.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public loginhistoryRow NewloginhistoryRow() {
return ((loginhistoryRow)(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 loginhistoryRow(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(loginhistoryRow);
}
[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.loginhistoryRowChanged != null)) {
this.loginhistoryRowChanged(this, new loginhistoryRowChangeEvent(((loginhistoryRow)(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.loginhistoryRowChanging != null)) {
this.loginhistoryRowChanging(this, new loginhistoryRowChangeEvent(((loginhistoryRow)(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.loginhistoryRowDeleted != null)) {
this.loginhistoryRowDeleted(this, new loginhistoryRowChangeEvent(((loginhistoryRow)(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.loginhistoryRowDeleting != null)) {
this.loginhistoryRowDeleting(this, new loginhistoryRowChangeEvent(((loginhistoryRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveloginhistoryRow(loginhistoryRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "loginhistoryDataTable";
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 messagesentDataTable : global::System.Data.TypedTableBase<messagesentRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columntransid;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnphonenumber;
private global::System.Data.DataColumn columnsender;
private global::System.Data.DataColumn columnmessage;
private global::System.Data.DataColumn columnmessageID;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columnresult;
private global::System.Data.DataColumn columnfailurereason;
private global::System.Data.DataColumn columnstatuscode;
private global::System.Data.DataColumn columnfailurecode;
private global::System.Data.DataColumn columnsentcode;
private global::System.Data.DataColumn columnbillcode;
private global::System.Data.DataColumn columnamtcharged;
private global::System.Data.DataColumn columnmcount;
private global::System.Data.DataColumn columnroute;
private global::System.Data.DataColumn columnMCCMNC;
private global::System.Data.DataColumn columnmesstype;
private global::System.Data.DataColumn columndomain;
private global::System.Data.DataColumn columndateused;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentDataTable() {
this.TableName = "messagesent";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentDataTable(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 messagesentDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn transidColumn {
get {
return this.columntransid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn phonenumberColumn {
get {
return this.columnphonenumber;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn senderColumn {
get {
return this.columnsender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messageColumn {
get {
return this.columnmessage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messageIDColumn {
get {
return this.columnmessageID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn resultColumn {
get {
return this.columnresult;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn failurereasonColumn {
get {
return this.columnfailurereason;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statuscodeColumn {
get {
return this.columnstatuscode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn failurecodeColumn {
get {
return this.columnfailurecode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn sentcodeColumn {
get {
return this.columnsentcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn billcodeColumn {
get {
return this.columnbillcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn amtchargedColumn {
get {
return this.columnamtcharged;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn mcountColumn {
get {
return this.columnmcount;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn routeColumn {
get {
return this.columnroute;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MCCMNCColumn {
get {
return this.columnMCCMNC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messtypeColumn {
get {
return this.columnmesstype;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn domainColumn {
get {
return this.columndomain;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[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 messagesentRow this[int index] {
get {
return ((messagesentRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentRowChangeEventHandler messagesentRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentRowChangeEventHandler messagesentRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentRowChangeEventHandler messagesentRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentRowChangeEventHandler messagesentRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagesentRow(messagesentRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentRow AddmessagesentRow(
string transid,
string username,
string phonenumber,
string sender,
string message,
string messageID,
string status,
string result,
string failurereason,
string statuscode,
string failurecode,
string sentcode,
string billcode,
string amtcharged,
int mcount,
string route,
string MCCMNC,
string messtype,
string domain,
System.DateTime dateused) {
messagesentRow rowmessagesentRow = ((messagesentRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
transid,
username,
phonenumber,
sender,
message,
messageID,
status,
result,
failurereason,
statuscode,
failurecode,
sentcode,
billcode,
amtcharged,
mcount,
route,
MCCMNC,
messtype,
domain,
dateused};
rowmessagesentRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagesentRow);
return rowmessagesentRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentRow FindBysn(int sn) {
return ((messagesentRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagesentDataTable cln = ((messagesentDataTable)(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 messagesentDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columntransid = base.Columns["transid"];
this.columnusername = base.Columns["username"];
this.columnphonenumber = base.Columns["phonenumber"];
this.columnsender = base.Columns["sender"];
this.columnmessage = base.Columns["message"];
this.columnmessageID = base.Columns["messageID"];
this.columnstatus = base.Columns["status"];
this.columnresult = base.Columns["result"];
this.columnfailurereason = base.Columns["failurereason"];
this.columnstatuscode = base.Columns["statuscode"];
this.columnfailurecode = base.Columns["failurecode"];
this.columnsentcode = base.Columns["sentcode"];
this.columnbillcode = base.Columns["billcode"];
this.columnamtcharged = base.Columns["amtcharged"];
this.columnmcount = base.Columns["mcount"];
this.columnroute = base.Columns["route"];
this.columnMCCMNC = base.Columns["MCCMNC"];
this.columnmesstype = base.Columns["messtype"];
this.columndomain = base.Columns["domain"];
this.columndateused = base.Columns["dateused"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columntransid = new global::System.Data.DataColumn("transid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntransid);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnphonenumber = new global::System.Data.DataColumn("phonenumber", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnphonenumber);
this.columnsender = new global::System.Data.DataColumn("sender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsender);
this.columnmessage = new global::System.Data.DataColumn("message", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmessage);
this.columnmessageID = new global::System.Data.DataColumn("messageID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmessageID);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columnresult = new global::System.Data.DataColumn("result", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnresult);
this.columnfailurereason = new global::System.Data.DataColumn("failurereason", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfailurereason);
this.columnstatuscode = new global::System.Data.DataColumn("statuscode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatuscode);
this.columnfailurecode = new global::System.Data.DataColumn("failurecode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnfailurecode);
this.columnsentcode = new global::System.Data.DataColumn("sentcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsentcode);
this.columnbillcode = new global::System.Data.DataColumn("billcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbillcode);
this.columnamtcharged = new global::System.Data.DataColumn("amtcharged", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnamtcharged);
this.columnmcount = new global::System.Data.DataColumn("mcount", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmcount);
this.columnroute = new global::System.Data.DataColumn("route", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnroute);
this.columnMCCMNC = new global::System.Data.DataColumn("MCCMNC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMCCMNC);
this.columnmesstype = new global::System.Data.DataColumn("messtype", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmesstype);
this.columndomain = new global::System.Data.DataColumn("domain", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndomain);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columntransid.AllowDBNull = false;
this.columntransid.MaxLength = 30;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnphonenumber.AllowDBNull = false;
this.columnphonenumber.MaxLength = 20;
this.columnsender.AllowDBNull = false;
this.columnsender.MaxLength = 20;
this.columnmessage.AllowDBNull = false;
this.columnmessage.MaxLength = 1530;
this.columnmessageID.AllowDBNull = false;
this.columnmessageID.MaxLength = 70;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 50;
this.columnresult.AllowDBNull = false;
this.columnresult.MaxLength = 10;
this.columnfailurereason.AllowDBNull = false;
this.columnfailurereason.MaxLength = 70;
this.columnstatuscode.AllowDBNull = false;
this.columnstatuscode.MaxLength = 10;
this.columnfailurecode.AllowDBNull = false;
this.columnfailurecode.MaxLength = 10;
this.columnsentcode.AllowDBNull = false;
this.columnsentcode.MaxLength = 10;
this.columnbillcode.AllowDBNull = false;
this.columnbillcode.MaxLength = 10;
this.columnamtcharged.AllowDBNull = false;
this.columnamtcharged.MaxLength = 10;
this.columnmcount.AllowDBNull = false;
this.columnroute.AllowDBNull = false;
this.columnroute.MaxLength = 10;
this.columnMCCMNC.AllowDBNull = false;
this.columnMCCMNC.MaxLength = 10;
this.columnmesstype.AllowDBNull = false;
this.columnmesstype.MaxLength = 10;
this.columndomain.AllowDBNull = false;
this.columndomain.MaxLength = 20;
this.columndateused.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentRow NewmessagesentRow() {
return ((messagesentRow)(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 messagesentRow(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(messagesentRow);
}
[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.messagesentRowChanged != null)) {
this.messagesentRowChanged(this, new messagesentRowChangeEvent(((messagesentRow)(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.messagesentRowChanging != null)) {
this.messagesentRowChanging(this, new messagesentRowChangeEvent(((messagesentRow)(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.messagesentRowDeleted != null)) {
this.messagesentRowDeleted(this, new messagesentRowChangeEvent(((messagesentRow)(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.messagesentRowDeleting != null)) {
this.messagesentRowDeleting(this, new messagesentRowChangeEvent(((messagesentRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagesentRow(messagesentRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagesentDataTable";
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 messagesentaddressbookDataTable : global::System.Data.TypedTableBase<messagesentaddressbookRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columntransid;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnbookname;
private global::System.Data.DataColumn columnmessage;
private global::System.Data.DataColumn columnsender;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columndateused;
private global::System.Data.DataColumn columndomain;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentaddressbookDataTable() {
this.TableName = "messagesentaddressbook";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentaddressbookDataTable(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 messagesentaddressbookDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn transidColumn {
get {
return this.columntransid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn booknameColumn {
get {
return this.columnbookname;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messageColumn {
get {
return this.columnmessage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn senderColumn {
get {
return this.columnsender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn domainColumn {
get {
return this.columndomain;
}
}
[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 messagesentaddressbookRow this[int index] {
get {
return ((messagesentaddressbookRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentaddressbookRowChangeEventHandler messagesentaddressbookRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentaddressbookRowChangeEventHandler messagesentaddressbookRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentaddressbookRowChangeEventHandler messagesentaddressbookRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentaddressbookRowChangeEventHandler messagesentaddressbookRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagesentaddressbookRow(messagesentaddressbookRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentaddressbookRow AddmessagesentaddressbookRow(string transid, string username, string bookname, string message, string sender, string status, System.DateTime dateused, string domain) {
messagesentaddressbookRow rowmessagesentaddressbookRow = ((messagesentaddressbookRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
transid,
username,
bookname,
message,
sender,
status,
dateused,
domain};
rowmessagesentaddressbookRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagesentaddressbookRow);
return rowmessagesentaddressbookRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentaddressbookRow FindBysn(int sn) {
return ((messagesentaddressbookRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagesentaddressbookDataTable cln = ((messagesentaddressbookDataTable)(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 messagesentaddressbookDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columntransid = base.Columns["transid"];
this.columnusername = base.Columns["username"];
this.columnbookname = base.Columns["bookname"];
this.columnmessage = base.Columns["message"];
this.columnsender = base.Columns["sender"];
this.columnstatus = base.Columns["status"];
this.columndateused = base.Columns["dateused"];
this.columndomain = base.Columns["domain"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columntransid = new global::System.Data.DataColumn("transid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntransid);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnbookname = new global::System.Data.DataColumn("bookname", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbookname);
this.columnmessage = new global::System.Data.DataColumn("message", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmessage);
this.columnsender = new global::System.Data.DataColumn("sender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsender);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.columndomain = new global::System.Data.DataColumn("domain", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndomain);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columntransid.AllowDBNull = false;
this.columntransid.MaxLength = 30;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnbookname.AllowDBNull = false;
this.columnbookname.MaxLength = 2000;
this.columnmessage.AllowDBNull = false;
this.columnmessage.MaxLength = 1530;
this.columnsender.AllowDBNull = false;
this.columnsender.MaxLength = 20;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 1;
this.columndateused.AllowDBNull = false;
this.columndomain.AllowDBNull = false;
this.columndomain.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentaddressbookRow NewmessagesentaddressbookRow() {
return ((messagesentaddressbookRow)(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 messagesentaddressbookRow(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(messagesentaddressbookRow);
}
[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.messagesentaddressbookRowChanged != null)) {
this.messagesentaddressbookRowChanged(this, new messagesentaddressbookRowChangeEvent(((messagesentaddressbookRow)(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.messagesentaddressbookRowChanging != null)) {
this.messagesentaddressbookRowChanging(this, new messagesentaddressbookRowChangeEvent(((messagesentaddressbookRow)(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.messagesentaddressbookRowDeleted != null)) {
this.messagesentaddressbookRowDeleted(this, new messagesentaddressbookRowChangeEvent(((messagesentaddressbookRow)(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.messagesentaddressbookRowDeleting != null)) {
this.messagesentaddressbookRowDeleting(this, new messagesentaddressbookRowChangeEvent(((messagesentaddressbookRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagesentaddressbookRow(messagesentaddressbookRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagesentaddressbookDataTable";
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 messagesentsingleDataTable : global::System.Data.TypedTableBase<messagesentsingleRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columntransid;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnphonenumber;
private global::System.Data.DataColumn columnmessage;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columnsender;
private global::System.Data.DataColumn columndomain;
private global::System.Data.DataColumn columndateused;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentsingleDataTable() {
this.TableName = "messagesentsingle";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentsingleDataTable(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 messagesentsingleDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn transidColumn {
get {
return this.columntransid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn phonenumberColumn {
get {
return this.columnphonenumber;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messageColumn {
get {
return this.columnmessage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn senderColumn {
get {
return this.columnsender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn domainColumn {
get {
return this.columndomain;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[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 messagesentsingleRow this[int index] {
get {
return ((messagesentsingleRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentsingleRowChangeEventHandler messagesentsingleRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentsingleRowChangeEventHandler messagesentsingleRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentsingleRowChangeEventHandler messagesentsingleRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagesentsingleRowChangeEventHandler messagesentsingleRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagesentsingleRow(messagesentsingleRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentsingleRow AddmessagesentsingleRow(string transid, string username, string phonenumber, string message, string status, string sender, string domain, System.DateTime dateused) {
messagesentsingleRow rowmessagesentsingleRow = ((messagesentsingleRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
transid,
username,
phonenumber,
message,
status,
sender,
domain,
dateused};
rowmessagesentsingleRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagesentsingleRow);
return rowmessagesentsingleRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentsingleRow FindBysn(int sn) {
return ((messagesentsingleRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagesentsingleDataTable cln = ((messagesentsingleDataTable)(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 messagesentsingleDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columntransid = base.Columns["transid"];
this.columnusername = base.Columns["username"];
this.columnphonenumber = base.Columns["phonenumber"];
this.columnmessage = base.Columns["message"];
this.columnstatus = base.Columns["status"];
this.columnsender = base.Columns["sender"];
this.columndomain = base.Columns["domain"];
this.columndateused = base.Columns["dateused"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columntransid = new global::System.Data.DataColumn("transid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntransid);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnphonenumber = new global::System.Data.DataColumn("phonenumber", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnphonenumber);
this.columnmessage = new global::System.Data.DataColumn("message", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmessage);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columnsender = new global::System.Data.DataColumn("sender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsender);
this.columndomain = new global::System.Data.DataColumn("domain", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndomain);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columntransid.AllowDBNull = false;
this.columntransid.MaxLength = 30;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnphonenumber.AllowDBNull = false;
this.columnphonenumber.MaxLength = 2000;
this.columnmessage.AllowDBNull = false;
this.columnmessage.MaxLength = 1530;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 1;
this.columnsender.AllowDBNull = false;
this.columnsender.MaxLength = 20;
this.columndomain.AllowDBNull = false;
this.columndomain.MaxLength = 20;
this.columndateused.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentsingleRow NewmessagesentsingleRow() {
return ((messagesentsingleRow)(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 messagesentsingleRow(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(messagesentsingleRow);
}
[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.messagesentsingleRowChanged != null)) {
this.messagesentsingleRowChanged(this, new messagesentsingleRowChangeEvent(((messagesentsingleRow)(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.messagesentsingleRowChanging != null)) {
this.messagesentsingleRowChanging(this, new messagesentsingleRowChangeEvent(((messagesentsingleRow)(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.messagesentsingleRowDeleted != null)) {
this.messagesentsingleRowDeleted(this, new messagesentsingleRowChangeEvent(((messagesentsingleRow)(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.messagesentsingleRowDeleting != null)) {
this.messagesentsingleRowDeleting(this, new messagesentsingleRowChangeEvent(((messagesentsingleRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagesentsingleRow(messagesentsingleRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagesentsingleDataTable";
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 messagestateDataTable : global::System.Data.TypedTableBase<messagestateRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnCode;
private global::System.Data.DataColumn columnDescription;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestateDataTable() {
this.TableName = "messagestate";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestateDataTable(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 messagestateDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodeColumn {
get {
return this.columnCode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescriptionColumn {
get {
return this.columnDescription;
}
}
[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 messagestateRow this[int index] {
get {
return ((messagestateRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestateRowChangeEventHandler messagestateRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestateRowChangeEventHandler messagestateRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestateRowChangeEventHandler messagestateRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestateRowChangeEventHandler messagestateRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagestateRow(messagestateRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestateRow AddmessagestateRow(string Code, string Description) {
messagestateRow rowmessagestateRow = ((messagestateRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
Code,
Description};
rowmessagestateRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagestateRow);
return rowmessagestateRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestateRow FindBysn(int sn) {
return ((messagestateRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagestateDataTable cln = ((messagestateDataTable)(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 messagestateDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnCode = base.Columns["Code"];
this.columnDescription = base.Columns["Description"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnCode = new global::System.Data.DataColumn("Code", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCode);
this.columnDescription = new global::System.Data.DataColumn("Description", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescription);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnCode.AllowDBNull = false;
this.columnCode.MaxLength = 10;
this.columnDescription.AllowDBNull = false;
this.columnDescription.MaxLength = 70;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestateRow NewmessagestateRow() {
return ((messagestateRow)(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 messagestateRow(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(messagestateRow);
}
[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.messagestateRowChanged != null)) {
this.messagestateRowChanged(this, new messagestateRowChangeEvent(((messagestateRow)(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.messagestateRowChanging != null)) {
this.messagestateRowChanging(this, new messagestateRowChangeEvent(((messagestateRow)(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.messagestateRowDeleted != null)) {
this.messagestateRowDeleted(this, new messagestateRowChangeEvent(((messagestateRow)(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.messagestateRowDeleting != null)) {
this.messagestateRowDeleting(this, new messagestateRowChangeEvent(((messagestateRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagestateRow(messagestateRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagestateDataTable";
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 messagestatusDataTable : global::System.Data.TypedTableBase<messagestatusRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnMessageID;
private global::System.Data.DataColumn columnMessageState;
private global::System.Data.DataColumn columnNetworkError;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columndatesent;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatusDataTable() {
this.TableName = "messagestatus";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestatusDataTable(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 messagestatusDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MessageIDColumn {
get {
return this.columnMessageID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MessageStateColumn {
get {
return this.columnMessageState;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetworkErrorColumn {
get {
return this.columnNetworkError;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn datesentColumn {
get {
return this.columndatesent;
}
}
[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 messagestatusRow this[int index] {
get {
return ((messagestatusRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatusRowChangeEventHandler messagestatusRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatusRowChangeEventHandler messagestatusRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatusRowChangeEventHandler messagestatusRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatusRowChangeEventHandler messagestatusRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagestatusRow(messagestatusRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatusRow AddmessagestatusRow(string username, string MessageID, string MessageState, string NetworkError, string status, System.DateTime datesent) {
messagestatusRow rowmessagestatusRow = ((messagestatusRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
MessageID,
MessageState,
NetworkError,
status,
datesent};
rowmessagestatusRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagestatusRow);
return rowmessagestatusRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatusRow FindBysn(int sn) {
return ((messagestatusRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagestatusDataTable cln = ((messagestatusDataTable)(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 messagestatusDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnMessageID = base.Columns["MessageID"];
this.columnMessageState = base.Columns["MessageState"];
this.columnNetworkError = base.Columns["NetworkError"];
this.columnstatus = base.Columns["status"];
this.columndatesent = base.Columns["datesent"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnMessageID = new global::System.Data.DataColumn("MessageID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMessageID);
this.columnMessageState = new global::System.Data.DataColumn("MessageState", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMessageState);
this.columnNetworkError = new global::System.Data.DataColumn("NetworkError", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetworkError);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columndatesent = new global::System.Data.DataColumn("datesent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndatesent);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnMessageID.AllowDBNull = false;
this.columnMessageID.MaxLength = 80;
this.columnMessageState.AllowDBNull = false;
this.columnMessageState.MaxLength = 10;
this.columnNetworkError.AllowDBNull = false;
this.columnNetworkError.MaxLength = 10;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 1;
this.columndatesent.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatusRow NewmessagestatusRow() {
return ((messagestatusRow)(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 messagestatusRow(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(messagestatusRow);
}
[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.messagestatusRowChanged != null)) {
this.messagestatusRowChanged(this, new messagestatusRowChangeEvent(((messagestatusRow)(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.messagestatusRowChanging != null)) {
this.messagestatusRowChanging(this, new messagestatusRowChangeEvent(((messagestatusRow)(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.messagestatusRowDeleted != null)) {
this.messagestatusRowDeleted(this, new messagestatusRowChangeEvent(((messagestatusRow)(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.messagestatusRowDeleting != null)) {
this.messagestatusRowDeleting(this, new messagestatusRowChangeEvent(((messagestatusRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagestatusRow(messagestatusRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagestatusDataTable";
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 messagestatussmppDataTable : global::System.Data.TypedTableBase<messagestatussmppRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnMessageID;
private global::System.Data.DataColumn columnSender;
private global::System.Data.DataColumn columnDestination;
private global::System.Data.DataColumn columnMessageState;
private global::System.Data.DataColumn columnNetworkError;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columndatesent;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatussmppDataTable() {
this.TableName = "messagestatussmpp";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestatussmppDataTable(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 messagestatussmppDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MessageIDColumn {
get {
return this.columnMessageID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SenderColumn {
get {
return this.columnSender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DestinationColumn {
get {
return this.columnDestination;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MessageStateColumn {
get {
return this.columnMessageState;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NetworkErrorColumn {
get {
return this.columnNetworkError;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn datesentColumn {
get {
return this.columndatesent;
}
}
[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 messagestatussmppRow this[int index] {
get {
return ((messagestatussmppRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatussmppRowChangeEventHandler messagestatussmppRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatussmppRowChangeEventHandler messagestatussmppRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatussmppRowChangeEventHandler messagestatussmppRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event messagestatussmppRowChangeEventHandler messagestatussmppRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddmessagestatussmppRow(messagestatussmppRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatussmppRow AddmessagestatussmppRow(string username, string MessageID, string Sender, string Destination, string MessageState, string NetworkError, string status, System.DateTime datesent) {
messagestatussmppRow rowmessagestatussmppRow = ((messagestatussmppRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
MessageID,
Sender,
Destination,
MessageState,
NetworkError,
status,
datesent};
rowmessagestatussmppRow.ItemArray = columnValuesArray;
this.Rows.Add(rowmessagestatussmppRow);
return rowmessagestatussmppRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatussmppRow FindBysn(int sn) {
return ((messagestatussmppRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
messagestatussmppDataTable cln = ((messagestatussmppDataTable)(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 messagestatussmppDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnMessageID = base.Columns["MessageID"];
this.columnSender = base.Columns["Sender"];
this.columnDestination = base.Columns["Destination"];
this.columnMessageState = base.Columns["MessageState"];
this.columnNetworkError = base.Columns["NetworkError"];
this.columnstatus = base.Columns["status"];
this.columndatesent = base.Columns["datesent"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnMessageID = new global::System.Data.DataColumn("MessageID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMessageID);
this.columnSender = new global::System.Data.DataColumn("Sender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSender);
this.columnDestination = new global::System.Data.DataColumn("Destination", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDestination);
this.columnMessageState = new global::System.Data.DataColumn("MessageState", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMessageState);
this.columnNetworkError = new global::System.Data.DataColumn("NetworkError", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNetworkError);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columndatesent = new global::System.Data.DataColumn("datesent", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndatesent);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnMessageID.AllowDBNull = false;
this.columnMessageID.MaxLength = 80;
this.columnSender.AllowDBNull = false;
this.columnSender.MaxLength = 20;
this.columnDestination.AllowDBNull = false;
this.columnDestination.MaxLength = 80;
this.columnMessageState.AllowDBNull = false;
this.columnMessageState.MaxLength = 10;
this.columnNetworkError.AllowDBNull = false;
this.columnNetworkError.MaxLength = 10;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 1;
this.columndatesent.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatussmppRow NewmessagestatussmppRow() {
return ((messagestatussmppRow)(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 messagestatussmppRow(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(messagestatussmppRow);
}
[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.messagestatussmppRowChanged != null)) {
this.messagestatussmppRowChanged(this, new messagestatussmppRowChangeEvent(((messagestatussmppRow)(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.messagestatussmppRowChanging != null)) {
this.messagestatussmppRowChanging(this, new messagestatussmppRowChangeEvent(((messagestatussmppRow)(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.messagestatussmppRowDeleted != null)) {
this.messagestatussmppRowDeleted(this, new messagestatussmppRowChangeEvent(((messagestatussmppRow)(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.messagestatussmppRowDeleting != null)) {
this.messagestatussmppRowDeleting(this, new messagestatussmppRowChangeEvent(((messagestatussmppRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovemessagestatussmppRow(messagestatussmppRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "messagestatussmppDataTable";
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 routingDataTable : global::System.Data.TypedTableBase<routingRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnCountry;
private global::System.Data.DataColumn columnCCode;
private global::System.Data.DataColumn columnoperator;
private global::System.Data.DataColumn columnMCCMNC;
private global::System.Data.DataColumn columnNDC;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingDataTable() {
this.TableName = "routing";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal routingDataTable(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 routingDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CountryColumn {
get {
return this.columnCountry;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CCodeColumn {
get {
return this.columnCCode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn operatorColumn {
get {
return this.columnoperator;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MCCMNCColumn {
get {
return this.columnMCCMNC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn NDCColumn {
get {
return this.columnNDC;
}
}
[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 routingRow this[int index] {
get {
return ((routingRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingRowChangeEventHandler routingRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingRowChangeEventHandler routingRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingRowChangeEventHandler routingRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingRowChangeEventHandler routingRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddroutingRow(routingRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingRow AddroutingRow(string Country, string CCode, string _operator, string MCCMNC, string NDC) {
routingRow rowroutingRow = ((routingRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
Country,
CCode,
_operator,
MCCMNC,
NDC};
rowroutingRow.ItemArray = columnValuesArray;
this.Rows.Add(rowroutingRow);
return rowroutingRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingRow FindBysn(int sn) {
return ((routingRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
routingDataTable cln = ((routingDataTable)(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 routingDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnCountry = base.Columns["Country"];
this.columnCCode = base.Columns["CCode"];
this.columnoperator = base.Columns["operator"];
this.columnMCCMNC = base.Columns["MCCMNC"];
this.columnNDC = base.Columns["NDC"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnCountry = new global::System.Data.DataColumn("Country", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCountry);
this.columnCCode = new global::System.Data.DataColumn("CCode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCCode);
this.columnoperator = new global::System.Data.DataColumn("operator", typeof(string), null, global::System.Data.MappingType.Element);
this.columnoperator.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "operatorColumn");
this.columnoperator.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnoperator");
this.columnoperator.ExtendedProperties.Add("Generator_UserColumnName", "operator");
base.Columns.Add(this.columnoperator);
this.columnMCCMNC = new global::System.Data.DataColumn("MCCMNC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMCCMNC);
this.columnNDC = new global::System.Data.DataColumn("NDC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNDC);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnCountry.AllowDBNull = false;
this.columnCountry.MaxLength = 30;
this.columnCCode.AllowDBNull = false;
this.columnCCode.MaxLength = 10;
this.columnoperator.AllowDBNull = false;
this.columnoperator.MaxLength = 30;
this.columnMCCMNC.AllowDBNull = false;
this.columnMCCMNC.MaxLength = 10;
this.columnNDC.AllowDBNull = false;
this.columnNDC.MaxLength = 10;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingRow NewroutingRow() {
return ((routingRow)(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 routingRow(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(routingRow);
}
[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.routingRowChanged != null)) {
this.routingRowChanged(this, new routingRowChangeEvent(((routingRow)(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.routingRowChanging != null)) {
this.routingRowChanging(this, new routingRowChangeEvent(((routingRow)(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.routingRowDeleted != null)) {
this.routingRowDeleted(this, new routingRowChangeEvent(((routingRow)(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.routingRowDeleting != null)) {
this.routingRowDeleting(this, new routingRowChangeEvent(((routingRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveroutingRow(routingRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "routingDataTable";
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 routingdetailsDataTable : global::System.Data.TypedTableBase<routingdetailsRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnRP1;
private global::System.Data.DataColumn columnRP2;
private global::System.Data.DataColumn columnRP3;
private global::System.Data.DataColumn columnRP4;
private global::System.Data.DataColumn columnRP5;
private global::System.Data.DataColumn columnRP6;
private global::System.Data.DataColumn columnRP7;
private global::System.Data.DataColumn columnRP8;
private global::System.Data.DataColumn columnRP9;
private global::System.Data.DataColumn columnRP10;
private global::System.Data.DataColumn columnMCCMNC;
private global::System.Data.DataColumn columnroute;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingdetailsDataTable() {
this.TableName = "routingdetails";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal routingdetailsDataTable(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 routingdetailsDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP1Column {
get {
return this.columnRP1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP2Column {
get {
return this.columnRP2;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP3Column {
get {
return this.columnRP3;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP4Column {
get {
return this.columnRP4;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP5Column {
get {
return this.columnRP5;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP6Column {
get {
return this.columnRP6;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP7Column {
get {
return this.columnRP7;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP8Column {
get {
return this.columnRP8;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP9Column {
get {
return this.columnRP9;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn RP10Column {
get {
return this.columnRP10;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MCCMNCColumn {
get {
return this.columnMCCMNC;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn routeColumn {
get {
return this.columnroute;
}
}
[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 routingdetailsRow this[int index] {
get {
return ((routingdetailsRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingdetailsRowChangeEventHandler routingdetailsRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingdetailsRowChangeEventHandler routingdetailsRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingdetailsRowChangeEventHandler routingdetailsRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event routingdetailsRowChangeEventHandler routingdetailsRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddroutingdetailsRow(routingdetailsRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingdetailsRow AddroutingdetailsRow(string RP1, string RP2, string RP3, string RP4, string RP5, string RP6, string RP7, string RP8, string RP9, string RP10, string MCCMNC, string route) {
routingdetailsRow rowroutingdetailsRow = ((routingdetailsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
RP1,
RP2,
RP3,
RP4,
RP5,
RP6,
RP7,
RP8,
RP9,
RP10,
MCCMNC,
route};
rowroutingdetailsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowroutingdetailsRow);
return rowroutingdetailsRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingdetailsRow FindBysn(int sn) {
return ((routingdetailsRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
routingdetailsDataTable cln = ((routingdetailsDataTable)(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 routingdetailsDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnRP1 = base.Columns["RP1"];
this.columnRP2 = base.Columns["RP2"];
this.columnRP3 = base.Columns["RP3"];
this.columnRP4 = base.Columns["RP4"];
this.columnRP5 = base.Columns["RP5"];
this.columnRP6 = base.Columns["RP6"];
this.columnRP7 = base.Columns["RP7"];
this.columnRP8 = base.Columns["RP8"];
this.columnRP9 = base.Columns["RP9"];
this.columnRP10 = base.Columns["RP10"];
this.columnMCCMNC = base.Columns["MCCMNC"];
this.columnroute = base.Columns["route"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnRP1 = new global::System.Data.DataColumn("RP1", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP1);
this.columnRP2 = new global::System.Data.DataColumn("RP2", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP2);
this.columnRP3 = new global::System.Data.DataColumn("RP3", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP3);
this.columnRP4 = new global::System.Data.DataColumn("RP4", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP4);
this.columnRP5 = new global::System.Data.DataColumn("RP5", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP5);
this.columnRP6 = new global::System.Data.DataColumn("RP6", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP6);
this.columnRP7 = new global::System.Data.DataColumn("RP7", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP7);
this.columnRP8 = new global::System.Data.DataColumn("RP8", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP8);
this.columnRP9 = new global::System.Data.DataColumn("RP9", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP9);
this.columnRP10 = new global::System.Data.DataColumn("RP10", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnRP10);
this.columnMCCMNC = new global::System.Data.DataColumn("MCCMNC", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMCCMNC);
this.columnroute = new global::System.Data.DataColumn("route", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnroute);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnRP1.AllowDBNull = false;
this.columnRP1.MaxLength = 10;
this.columnRP2.AllowDBNull = false;
this.columnRP2.MaxLength = 10;
this.columnRP3.AllowDBNull = false;
this.columnRP3.MaxLength = 10;
this.columnRP4.AllowDBNull = false;
this.columnRP4.MaxLength = 10;
this.columnRP5.AllowDBNull = false;
this.columnRP5.MaxLength = 10;
this.columnRP6.AllowDBNull = false;
this.columnRP6.MaxLength = 10;
this.columnRP7.AllowDBNull = false;
this.columnRP7.MaxLength = 10;
this.columnRP8.AllowDBNull = false;
this.columnRP8.MaxLength = 10;
this.columnRP9.AllowDBNull = false;
this.columnRP9.MaxLength = 10;
this.columnRP10.AllowDBNull = false;
this.columnRP10.MaxLength = 10;
this.columnMCCMNC.AllowDBNull = false;
this.columnMCCMNC.MaxLength = 10;
this.columnroute.AllowDBNull = false;
this.columnroute.MaxLength = 2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingdetailsRow NewroutingdetailsRow() {
return ((routingdetailsRow)(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 routingdetailsRow(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(routingdetailsRow);
}
[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.routingdetailsRowChanged != null)) {
this.routingdetailsRowChanged(this, new routingdetailsRowChangeEvent(((routingdetailsRow)(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.routingdetailsRowChanging != null)) {
this.routingdetailsRowChanging(this, new routingdetailsRowChangeEvent(((routingdetailsRow)(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.routingdetailsRowDeleted != null)) {
this.routingdetailsRowDeleted(this, new routingdetailsRowChangeEvent(((routingdetailsRow)(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.routingdetailsRowDeleting != null)) {
this.routingdetailsRowDeleting(this, new routingdetailsRowChangeEvent(((routingdetailsRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveroutingdetailsRow(routingdetailsRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "routingdetailsDataTable";
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 scheduleDataTable : global::System.Data.TypedTableBase<scheduleRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columntransid;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnbookname;
private global::System.Data.DataColumn columnmessage;
private global::System.Data.DataColumn columnsender;
private global::System.Data.DataColumn columnstatus;
private global::System.Data.DataColumn columnmesstype;
private global::System.Data.DataColumn columndateused;
private global::System.Data.DataColumn columndomain;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public scheduleDataTable() {
this.TableName = "schedule";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal scheduleDataTable(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 scheduleDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn transidColumn {
get {
return this.columntransid;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn booknameColumn {
get {
return this.columnbookname;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messageColumn {
get {
return this.columnmessage;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn senderColumn {
get {
return this.columnsender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn statusColumn {
get {
return this.columnstatus;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn messtypeColumn {
get {
return this.columnmesstype;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn domainColumn {
get {
return this.columndomain;
}
}
[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 scheduleRow this[int index] {
get {
return ((scheduleRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event scheduleRowChangeEventHandler scheduleRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event scheduleRowChangeEventHandler scheduleRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event scheduleRowChangeEventHandler scheduleRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event scheduleRowChangeEventHandler scheduleRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddscheduleRow(scheduleRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public scheduleRow AddscheduleRow(string transid, string username, string bookname, string message, string sender, string status, string messtype, System.DateTime dateused, string domain) {
scheduleRow rowscheduleRow = ((scheduleRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
transid,
username,
bookname,
message,
sender,
status,
messtype,
dateused,
domain};
rowscheduleRow.ItemArray = columnValuesArray;
this.Rows.Add(rowscheduleRow);
return rowscheduleRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public scheduleRow FindBysn(int sn) {
return ((scheduleRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
scheduleDataTable cln = ((scheduleDataTable)(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 scheduleDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columntransid = base.Columns["transid"];
this.columnusername = base.Columns["username"];
this.columnbookname = base.Columns["bookname"];
this.columnmessage = base.Columns["message"];
this.columnsender = base.Columns["sender"];
this.columnstatus = base.Columns["status"];
this.columnmesstype = base.Columns["messtype"];
this.columndateused = base.Columns["dateused"];
this.columndomain = base.Columns["domain"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columntransid = new global::System.Data.DataColumn("transid", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntransid);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnbookname = new global::System.Data.DataColumn("bookname", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbookname);
this.columnmessage = new global::System.Data.DataColumn("message", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmessage);
this.columnsender = new global::System.Data.DataColumn("sender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsender);
this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstatus);
this.columnmesstype = new global::System.Data.DataColumn("messtype", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmesstype);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.columndomain = new global::System.Data.DataColumn("domain", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndomain);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columntransid.AllowDBNull = false;
this.columntransid.MaxLength = 30;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnbookname.AllowDBNull = false;
this.columnbookname.MaxLength = 2000;
this.columnmessage.AllowDBNull = false;
this.columnmessage.MaxLength = 1530;
this.columnsender.AllowDBNull = false;
this.columnsender.MaxLength = 20;
this.columnstatus.AllowDBNull = false;
this.columnstatus.MaxLength = 1;
this.columnmesstype.AllowDBNull = false;
this.columnmesstype.MaxLength = 1;
this.columndateused.AllowDBNull = false;
this.columndomain.AllowDBNull = false;
this.columndomain.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public scheduleRow NewscheduleRow() {
return ((scheduleRow)(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 scheduleRow(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(scheduleRow);
}
[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.scheduleRowChanged != null)) {
this.scheduleRowChanged(this, new scheduleRowChangeEvent(((scheduleRow)(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.scheduleRowChanging != null)) {
this.scheduleRowChanging(this, new scheduleRowChangeEvent(((scheduleRow)(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.scheduleRowDeleted != null)) {
this.scheduleRowDeleted(this, new scheduleRowChangeEvent(((scheduleRow)(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.scheduleRowDeleting != null)) {
this.scheduleRowDeleting(this, new scheduleRowChangeEvent(((scheduleRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovescheduleRow(scheduleRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "scheduleDataTable";
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 smsaccountDataTable : global::System.Data.TypedTableBase<smsaccountRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnbalnaira;
private global::System.Data.DataColumn columnbaleuro;
private global::System.Data.DataColumn columnbaldollar;
private global::System.Data.DataColumn columndateused;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsaccountDataTable() {
this.TableName = "smsaccount";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal smsaccountDataTable(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 smsaccountDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn balnairaColumn {
get {
return this.columnbalnaira;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn baleuroColumn {
get {
return this.columnbaleuro;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn baldollarColumn {
get {
return this.columnbaldollar;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn dateusedColumn {
get {
return this.columndateused;
}
}
[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 smsaccountRow this[int index] {
get {
return ((smsaccountRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsaccountRowChangeEventHandler smsaccountRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsaccountRowChangeEventHandler smsaccountRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsaccountRowChangeEventHandler smsaccountRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsaccountRowChangeEventHandler smsaccountRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddsmsaccountRow(smsaccountRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsaccountRow AddsmsaccountRow(string username, decimal balnaira, decimal baleuro, decimal baldollar, System.DateTime dateused) {
smsaccountRow rowsmsaccountRow = ((smsaccountRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
balnaira,
baleuro,
baldollar,
dateused};
rowsmsaccountRow.ItemArray = columnValuesArray;
this.Rows.Add(rowsmsaccountRow);
return rowsmsaccountRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsaccountRow FindBysn(int sn) {
return ((smsaccountRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
smsaccountDataTable cln = ((smsaccountDataTable)(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 smsaccountDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnbalnaira = base.Columns["balnaira"];
this.columnbaleuro = base.Columns["baleuro"];
this.columnbaldollar = base.Columns["baldollar"];
this.columndateused = base.Columns["dateused"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnbalnaira = new global::System.Data.DataColumn("balnaira", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbalnaira);
this.columnbaleuro = new global::System.Data.DataColumn("baleuro", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbaleuro);
this.columnbaldollar = new global::System.Data.DataColumn("baldollar", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbaldollar);
this.columndateused = new global::System.Data.DataColumn("dateused", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndateused);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnbalnaira.AllowDBNull = false;
this.columnbaleuro.AllowDBNull = false;
this.columnbaldollar.AllowDBNull = false;
this.columndateused.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsaccountRow NewsmsaccountRow() {
return ((smsaccountRow)(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 smsaccountRow(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(smsaccountRow);
}
[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.smsaccountRowChanged != null)) {
this.smsaccountRowChanged(this, new smsaccountRowChangeEvent(((smsaccountRow)(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.smsaccountRowChanging != null)) {
this.smsaccountRowChanging(this, new smsaccountRowChangeEvent(((smsaccountRow)(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.smsaccountRowDeleted != null)) {
this.smsaccountRowDeleted(this, new smsaccountRowChangeEvent(((smsaccountRow)(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.smsaccountRowDeleting != null)) {
this.smsaccountRowDeleting(this, new smsaccountRowChangeEvent(((smsaccountRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovesmsaccountRow(smsaccountRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "smsaccountDataTable";
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 smsprofileDataTable : global::System.Data.TypedTableBase<smsprofileRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnsubprofile;
private global::System.Data.DataColumn columnrateprofile;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsprofileDataTable() {
this.TableName = "smsprofile";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal smsprofileDataTable(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 smsprofileDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn subprofileColumn {
get {
return this.columnsubprofile;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn rateprofileColumn {
get {
return this.columnrateprofile;
}
}
[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 smsprofileRow this[int index] {
get {
return ((smsprofileRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsprofileRowChangeEventHandler smsprofileRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsprofileRowChangeEventHandler smsprofileRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsprofileRowChangeEventHandler smsprofileRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event smsprofileRowChangeEventHandler smsprofileRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddsmsprofileRow(smsprofileRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsprofileRow AddsmsprofileRow(string username, string subprofile, string rateprofile) {
smsprofileRow rowsmsprofileRow = ((smsprofileRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
subprofile,
rateprofile};
rowsmsprofileRow.ItemArray = columnValuesArray;
this.Rows.Add(rowsmsprofileRow);
return rowsmsprofileRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsprofileRow FindBysn(int sn) {
return ((smsprofileRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
smsprofileDataTable cln = ((smsprofileDataTable)(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 smsprofileDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnsubprofile = base.Columns["subprofile"];
this.columnrateprofile = base.Columns["rateprofile"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnsubprofile = new global::System.Data.DataColumn("subprofile", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsubprofile);
this.columnrateprofile = new global::System.Data.DataColumn("rateprofile", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnrateprofile);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnsubprofile.AllowDBNull = false;
this.columnsubprofile.MaxLength = 2;
this.columnrateprofile.AllowDBNull = false;
this.columnrateprofile.MaxLength = 2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsprofileRow NewsmsprofileRow() {
return ((smsprofileRow)(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 smsprofileRow(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(smsprofileRow);
}
[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.smsprofileRowChanged != null)) {
this.smsprofileRowChanged(this, new smsprofileRowChangeEvent(((smsprofileRow)(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.smsprofileRowChanging != null)) {
this.smsprofileRowChanging(this, new smsprofileRowChangeEvent(((smsprofileRow)(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.smsprofileRowDeleted != null)) {
this.smsprofileRowDeleted(this, new smsprofileRowChangeEvent(((smsprofileRow)(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.smsprofileRowDeleting != null)) {
this.smsprofileRowDeleting(this, new smsprofileRowChangeEvent(((smsprofileRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovesmsprofileRow(smsprofileRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "smsprofileDataTable";
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 statusDataTable : global::System.Data.TypedTableBase<statusRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnCode;
private global::System.Data.DataColumn columnDescription;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public statusDataTable() {
this.TableName = "status";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal statusDataTable(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 statusDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn CodeColumn {
get {
return this.columnCode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn DescriptionColumn {
get {
return this.columnDescription;
}
}
[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 statusRow this[int index] {
get {
return ((statusRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event statusRowChangeEventHandler statusRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event statusRowChangeEventHandler statusRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event statusRowChangeEventHandler statusRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event statusRowChangeEventHandler statusRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddstatusRow(statusRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public statusRow AddstatusRow(string Code, string Description) {
statusRow rowstatusRow = ((statusRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
Code,
Description};
rowstatusRow.ItemArray = columnValuesArray;
this.Rows.Add(rowstatusRow);
return rowstatusRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public statusRow FindBysn(int sn) {
return ((statusRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
statusDataTable cln = ((statusDataTable)(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 statusDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnCode = base.Columns["Code"];
this.columnDescription = base.Columns["Description"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnCode = new global::System.Data.DataColumn("Code", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCode);
this.columnDescription = new global::System.Data.DataColumn("Description", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescription);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnCode.AllowDBNull = false;
this.columnCode.MaxLength = 10;
this.columnDescription.AllowDBNull = false;
this.columnDescription.MaxLength = 70;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public statusRow NewstatusRow() {
return ((statusRow)(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 statusRow(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(statusRow);
}
[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.statusRowChanged != null)) {
this.statusRowChanged(this, new statusRowChangeEvent(((statusRow)(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.statusRowChanging != null)) {
this.statusRowChanging(this, new statusRowChangeEvent(((statusRow)(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.statusRowDeleted != null)) {
this.statusRowDeleted(this, new statusRowChangeEvent(((statusRow)(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.statusRowDeleting != null)) {
this.statusRowDeleting(this, new statusRowChangeEvent(((statusRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemovestatusRow(statusRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "statusDataTable";
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 userloginDataTable : global::System.Data.TypedTableBase<userloginRow> {
private global::System.Data.DataColumn columnsn;
private global::System.Data.DataColumn columnusername;
private global::System.Data.DataColumn columnpass;
private global::System.Data.DataColumn columnClientIP;
private global::System.Data.DataColumn columnemail;
private global::System.Data.DataColumn columnFullName;
private global::System.Data.DataColumn columnphonenumber;
private global::System.Data.DataColumn columncountry;
private global::System.Data.DataColumn columnstate;
private global::System.Data.DataColumn columnaddress;
private global::System.Data.DataColumn columnmlock;
private global::System.Data.DataColumn columngender;
private global::System.Data.DataColumn columnzipcode;
private global::System.Data.DataColumn columnreferrer;
private global::System.Data.DataColumn columnlastlogin;
private global::System.Data.DataColumn columnbirthday;
private global::System.Data.DataColumn columnbirthmonth;
private global::System.Data.DataColumn columnactivationcode;
private global::System.Data.DataColumn columncountrylaw;
private global::System.Data.DataColumn columnpin;
private global::System.Data.DataColumn columndatecreated;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public userloginDataTable() {
this.TableName = "userlogin";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal userloginDataTable(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 userloginDataTable(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 snColumn {
get {
return this.columnsn;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn usernameColumn {
get {
return this.columnusername;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn passColumn {
get {
return this.columnpass;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ClientIPColumn {
get {
return this.columnClientIP;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn emailColumn {
get {
return this.columnemail;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FullNameColumn {
get {
return this.columnFullName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn phonenumberColumn {
get {
return this.columnphonenumber;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn countryColumn {
get {
return this.columncountry;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn stateColumn {
get {
return this.columnstate;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn addressColumn {
get {
return this.columnaddress;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn mlockColumn {
get {
return this.columnmlock;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn genderColumn {
get {
return this.columngender;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn zipcodeColumn {
get {
return this.columnzipcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn referrerColumn {
get {
return this.columnreferrer;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn lastloginColumn {
get {
return this.columnlastlogin;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn birthdayColumn {
get {
return this.columnbirthday;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn birthmonthColumn {
get {
return this.columnbirthmonth;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn activationcodeColumn {
get {
return this.columnactivationcode;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn countrylawColumn {
get {
return this.columncountrylaw;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn pinColumn {
get {
return this.columnpin;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn datecreatedColumn {
get {
return this.columndatecreated;
}
}
[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 userloginRow this[int index] {
get {
return ((userloginRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event userloginRowChangeEventHandler userloginRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event userloginRowChangeEventHandler userloginRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event userloginRowChangeEventHandler userloginRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event userloginRowChangeEventHandler userloginRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AdduserloginRow(userloginRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public userloginRow AdduserloginRow(
string username,
string pass,
string ClientIP,
string email,
string FullName,
string phonenumber,
string country,
string state,
string address,
string mlock,
string gender,
string zipcode,
string referrer,
System.DateTime lastlogin,
string birthday,
string birthmonth,
string activationcode,
string countrylaw,
byte[] pin,
System.DateTime datecreated) {
userloginRow rowuserloginRow = ((userloginRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
username,
pass,
ClientIP,
email,
FullName,
phonenumber,
country,
state,
address,
mlock,
gender,
zipcode,
referrer,
lastlogin,
birthday,
birthmonth,
activationcode,
countrylaw,
pin,
datecreated};
rowuserloginRow.ItemArray = columnValuesArray;
this.Rows.Add(rowuserloginRow);
return rowuserloginRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public userloginRow FindBysn(int sn) {
return ((userloginRow)(this.Rows.Find(new object[] {
sn})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
userloginDataTable cln = ((userloginDataTable)(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 userloginDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnsn = base.Columns["sn"];
this.columnusername = base.Columns["username"];
this.columnpass = base.Columns["pass"];
this.columnClientIP = base.Columns["ClientIP"];
this.columnemail = base.Columns["email"];
this.columnFullName = base.Columns["FullName"];
this.columnphonenumber = base.Columns["phonenumber"];
this.columncountry = base.Columns["country"];
this.columnstate = base.Columns["state"];
this.columnaddress = base.Columns["address"];
this.columnmlock = base.Columns["mlock"];
this.columngender = base.Columns["gender"];
this.columnzipcode = base.Columns["zipcode"];
this.columnreferrer = base.Columns["referrer"];
this.columnlastlogin = base.Columns["lastlogin"];
this.columnbirthday = base.Columns["birthday"];
this.columnbirthmonth = base.Columns["birthmonth"];
this.columnactivationcode = base.Columns["activationcode"];
this.columncountrylaw = base.Columns["countrylaw"];
this.columnpin = base.Columns["pin"];
this.columndatecreated = base.Columns["datecreated"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnsn = new global::System.Data.DataColumn("sn", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsn);
this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnpass = new global::System.Data.DataColumn("pass", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpass);
this.columnClientIP = new global::System.Data.DataColumn("ClientIP", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnClientIP);
this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnemail);
this.columnFullName = new global::System.Data.DataColumn("FullName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFullName);
this.columnphonenumber = new global::System.Data.DataColumn("phonenumber", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnphonenumber);
this.columncountry = new global::System.Data.DataColumn("country", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncountry);
this.columnstate = new global::System.Data.DataColumn("state", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnstate);
this.columnaddress = new global::System.Data.DataColumn("address", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnaddress);
this.columnmlock = new global::System.Data.DataColumn("mlock", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmlock);
this.columngender = new global::System.Data.DataColumn("gender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columngender);
this.columnzipcode = new global::System.Data.DataColumn("zipcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnzipcode);
this.columnreferrer = new global::System.Data.DataColumn("referrer", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnreferrer);
this.columnlastlogin = new global::System.Data.DataColumn("lastlogin", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlastlogin);
this.columnbirthday = new global::System.Data.DataColumn("birthday", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbirthday);
this.columnbirthmonth = new global::System.Data.DataColumn("birthmonth", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnbirthmonth);
this.columnactivationcode = new global::System.Data.DataColumn("activationcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnactivationcode);
this.columncountrylaw = new global::System.Data.DataColumn("countrylaw", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncountrylaw);
this.columnpin = new global::System.Data.DataColumn("pin", typeof(byte[]), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnpin);
this.columndatecreated = new global::System.Data.DataColumn("datecreated", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndatecreated);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnsn}, true));
this.columnsn.AutoIncrement = true;
this.columnsn.AutoIncrementSeed = -1;
this.columnsn.AutoIncrementStep = -1;
this.columnsn.AllowDBNull = false;
this.columnsn.Unique = true;
this.columnusername.AllowDBNull = false;
this.columnusername.MaxLength = 60;
this.columnpass.AllowDBNull = false;
this.columnpass.MaxLength = 40;
this.columnClientIP.AllowDBNull = false;
this.columnClientIP.MaxLength = 20;
this.columnemail.AllowDBNull = false;
this.columnemail.MaxLength = 60;
this.columnFullName.AllowDBNull = false;
this.columnFullName.MaxLength = 60;
this.columnphonenumber.AllowDBNull = false;
this.columnphonenumber.MaxLength = 20;
this.columncountry.AllowDBNull = false;
this.columncountry.MaxLength = 20;
this.columnstate.AllowDBNull = false;
this.columnstate.MaxLength = 25;
this.columnaddress.AllowDBNull = false;
this.columnaddress.MaxLength = 60;
this.columnmlock.AllowDBNull = false;
this.columnmlock.MaxLength = 1;
this.columngender.AllowDBNull = false;
this.columngender.MaxLength = 1;
this.columnzipcode.AllowDBNull = false;
this.columnzipcode.MaxLength = 10;
this.columnreferrer.AllowDBNull = false;
this.columnreferrer.MaxLength = 20;
this.columnlastlogin.AllowDBNull = false;
this.columnbirthday.AllowDBNull = false;
this.columnbirthday.MaxLength = 2;
this.columnbirthmonth.AllowDBNull = false;
this.columnbirthmonth.MaxLength = 2;
this.columnactivationcode.AllowDBNull = false;
this.columnactivationcode.MaxLength = 20;
this.columncountrylaw.AllowDBNull = false;
this.columncountrylaw.MaxLength = 1;
this.columnpin.AllowDBNull = false;
this.columndatecreated.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public userloginRow NewuserloginRow() {
return ((userloginRow)(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 userloginRow(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(userloginRow);
}
[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.userloginRowChanged != null)) {
this.userloginRowChanged(this, new userloginRowChangeEvent(((userloginRow)(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.userloginRowChanging != null)) {
this.userloginRowChanging(this, new userloginRowChangeEvent(((userloginRow)(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.userloginRowDeleted != null)) {
this.userloginRowDeleted(this, new userloginRowChangeEvent(((userloginRow)(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.userloginRowDeleting != null)) {
this.userloginRowDeleting(this, new userloginRowChangeEvent(((userloginRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveuserloginRow(userloginRow 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();
smartsmsrouterDataSet ds = new smartsmsrouterDataSet();
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 = "userloginDataTable";
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 accounthistoryRow : global::System.Data.DataRow {
private accounthistoryDataTable tableaccounthistory;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal accounthistoryRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableaccounthistory = ((accounthistoryDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableaccounthistory.snColumn]));
}
set {
this[this.tableaccounthistory.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string transid {
get {
return ((string)(this[this.tableaccounthistory.transidColumn]));
}
set {
this[this.tableaccounthistory.transidColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tableaccounthistory.usernameColumn]));
}
set {
this[this.tableaccounthistory.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal oldbal {
get {
return ((decimal)(this[this.tableaccounthistory.oldbalColumn]));
}
set {
this[this.tableaccounthistory.oldbalColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal amtcharged {
get {
return ((decimal)(this[this.tableaccounthistory.amtchargedColumn]));
}
set {
this[this.tableaccounthistory.amtchargedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal newbal {
get {
return ((decimal)(this[this.tableaccounthistory.newbalColumn]));
}
set {
this[this.tableaccounthistory.newbalColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Page {
get {
return ((string)(this[this.tableaccounthistory.PageColumn]));
}
set {
this[this.tableaccounthistory.PageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string gateway {
get {
return ((string)(this[this.tableaccounthistory.gatewayColumn]));
}
set {
this[this.tableaccounthistory.gatewayColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tableaccounthistory.dateusedColumn]));
}
set {
this[this.tableaccounthistory.dateusedColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class addressbookRow : global::System.Data.DataRow {
private addressbookDataTable tableaddressbook;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal addressbookRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableaddressbook = ((addressbookDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableaddressbook.snColumn]));
}
set {
this[this.tableaddressbook.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tableaddressbook.usernameColumn]));
}
set {
this[this.tableaddressbook.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string bookname {
get {
return ((string)(this[this.tableaddressbook.booknameColumn]));
}
set {
this[this.tableaddressbook.booknameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string phonenumber {
get {
return ((string)(this[this.tableaddressbook.phonenumberColumn]));
}
set {
this[this.tableaddressbook.phonenumberColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string field1 {
get {
return ((string)(this[this.tableaddressbook.field1Column]));
}
set {
this[this.tableaddressbook.field1Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string field2 {
get {
return ((string)(this[this.tableaddressbook.field2Column]));
}
set {
this[this.tableaddressbook.field2Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string field3 {
get {
return ((string)(this[this.tableaddressbook.field3Column]));
}
set {
this[this.tableaddressbook.field3Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string field4 {
get {
return ((string)(this[this.tableaddressbook.field4Column]));
}
set {
this[this.tableaddressbook.field4Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string field5 {
get {
return ((string)(this[this.tableaddressbook.field5Column]));
}
set {
this[this.tableaddressbook.field5Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tableaddressbook.dateusedColumn]));
}
set {
this[this.tableaddressbook.dateusedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string domain {
get {
return ((string)(this[this.tableaddressbook.domainColumn]));
}
set {
this[this.tableaddressbook.domainColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class loginhistoryRow : global::System.Data.DataRow {
private loginhistoryDataTable tableloginhistory;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal loginhistoryRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableloginhistory = ((loginhistoryDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableloginhistory.snColumn]));
}
set {
this[this.tableloginhistory.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tableloginhistory.usernameColumn]));
}
set {
this[this.tableloginhistory.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string pass {
get {
return ((string)(this[this.tableloginhistory.passColumn]));
}
set {
this[this.tableloginhistory.passColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string clientRemoteIP {
get {
return ((string)(this[this.tableloginhistory.clientRemoteIPColumn]));
}
set {
this[this.tableloginhistory.clientRemoteIPColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime datesent {
get {
return ((global::System.DateTime)(this[this.tableloginhistory.datesentColumn]));
}
set {
this[this.tableloginhistory.datesentColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagesentRow : global::System.Data.DataRow {
private messagesentDataTable tablemessagesent;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagesent = ((messagesentDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagesent.snColumn]));
}
set {
this[this.tablemessagesent.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string transid {
get {
return ((string)(this[this.tablemessagesent.transidColumn]));
}
set {
this[this.tablemessagesent.transidColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablemessagesent.usernameColumn]));
}
set {
this[this.tablemessagesent.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string phonenumber {
get {
return ((string)(this[this.tablemessagesent.phonenumberColumn]));
}
set {
this[this.tablemessagesent.phonenumberColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sender {
get {
return ((string)(this[this.tablemessagesent.senderColumn]));
}
set {
this[this.tablemessagesent.senderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string message {
get {
return ((string)(this[this.tablemessagesent.messageColumn]));
}
set {
this[this.tablemessagesent.messageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string messageID {
get {
return ((string)(this[this.tablemessagesent.messageIDColumn]));
}
set {
this[this.tablemessagesent.messageIDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tablemessagesent.statusColumn]));
}
set {
this[this.tablemessagesent.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string result {
get {
return ((string)(this[this.tablemessagesent.resultColumn]));
}
set {
this[this.tablemessagesent.resultColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string failurereason {
get {
return ((string)(this[this.tablemessagesent.failurereasonColumn]));
}
set {
this[this.tablemessagesent.failurereasonColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string statuscode {
get {
return ((string)(this[this.tablemessagesent.statuscodeColumn]));
}
set {
this[this.tablemessagesent.statuscodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string failurecode {
get {
return ((string)(this[this.tablemessagesent.failurecodeColumn]));
}
set {
this[this.tablemessagesent.failurecodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sentcode {
get {
return ((string)(this[this.tablemessagesent.sentcodeColumn]));
}
set {
this[this.tablemessagesent.sentcodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string billcode {
get {
return ((string)(this[this.tablemessagesent.billcodeColumn]));
}
set {
this[this.tablemessagesent.billcodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string amtcharged {
get {
return ((string)(this[this.tablemessagesent.amtchargedColumn]));
}
set {
this[this.tablemessagesent.amtchargedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int mcount {
get {
return ((int)(this[this.tablemessagesent.mcountColumn]));
}
set {
this[this.tablemessagesent.mcountColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string route {
get {
return ((string)(this[this.tablemessagesent.routeColumn]));
}
set {
this[this.tablemessagesent.routeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MCCMNC {
get {
return ((string)(this[this.tablemessagesent.MCCMNCColumn]));
}
set {
this[this.tablemessagesent.MCCMNCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string messtype {
get {
return ((string)(this[this.tablemessagesent.messtypeColumn]));
}
set {
this[this.tablemessagesent.messtypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string domain {
get {
return ((string)(this[this.tablemessagesent.domainColumn]));
}
set {
this[this.tablemessagesent.domainColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tablemessagesent.dateusedColumn]));
}
set {
this[this.tablemessagesent.dateusedColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagesentaddressbookRow : global::System.Data.DataRow {
private messagesentaddressbookDataTable tablemessagesentaddressbook;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentaddressbookRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagesentaddressbook = ((messagesentaddressbookDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagesentaddressbook.snColumn]));
}
set {
this[this.tablemessagesentaddressbook.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string transid {
get {
return ((string)(this[this.tablemessagesentaddressbook.transidColumn]));
}
set {
this[this.tablemessagesentaddressbook.transidColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablemessagesentaddressbook.usernameColumn]));
}
set {
this[this.tablemessagesentaddressbook.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string bookname {
get {
return ((string)(this[this.tablemessagesentaddressbook.booknameColumn]));
}
set {
this[this.tablemessagesentaddressbook.booknameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string message {
get {
return ((string)(this[this.tablemessagesentaddressbook.messageColumn]));
}
set {
this[this.tablemessagesentaddressbook.messageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sender {
get {
return ((string)(this[this.tablemessagesentaddressbook.senderColumn]));
}
set {
this[this.tablemessagesentaddressbook.senderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tablemessagesentaddressbook.statusColumn]));
}
set {
this[this.tablemessagesentaddressbook.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tablemessagesentaddressbook.dateusedColumn]));
}
set {
this[this.tablemessagesentaddressbook.dateusedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string domain {
get {
return ((string)(this[this.tablemessagesentaddressbook.domainColumn]));
}
set {
this[this.tablemessagesentaddressbook.domainColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagesentsingleRow : global::System.Data.DataRow {
private messagesentsingleDataTable tablemessagesentsingle;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagesentsingleRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagesentsingle = ((messagesentsingleDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagesentsingle.snColumn]));
}
set {
this[this.tablemessagesentsingle.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string transid {
get {
return ((string)(this[this.tablemessagesentsingle.transidColumn]));
}
set {
this[this.tablemessagesentsingle.transidColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablemessagesentsingle.usernameColumn]));
}
set {
this[this.tablemessagesentsingle.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string phonenumber {
get {
return ((string)(this[this.tablemessagesentsingle.phonenumberColumn]));
}
set {
this[this.tablemessagesentsingle.phonenumberColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string message {
get {
return ((string)(this[this.tablemessagesentsingle.messageColumn]));
}
set {
this[this.tablemessagesentsingle.messageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tablemessagesentsingle.statusColumn]));
}
set {
this[this.tablemessagesentsingle.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sender {
get {
return ((string)(this[this.tablemessagesentsingle.senderColumn]));
}
set {
this[this.tablemessagesentsingle.senderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string domain {
get {
return ((string)(this[this.tablemessagesentsingle.domainColumn]));
}
set {
this[this.tablemessagesentsingle.domainColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tablemessagesentsingle.dateusedColumn]));
}
set {
this[this.tablemessagesentsingle.dateusedColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagestateRow : global::System.Data.DataRow {
private messagestateDataTable tablemessagestate;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestateRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagestate = ((messagestateDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagestate.snColumn]));
}
set {
this[this.tablemessagestate.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Code {
get {
return ((string)(this[this.tablemessagestate.CodeColumn]));
}
set {
this[this.tablemessagestate.CodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Description {
get {
return ((string)(this[this.tablemessagestate.DescriptionColumn]));
}
set {
this[this.tablemessagestate.DescriptionColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagestatusRow : global::System.Data.DataRow {
private messagestatusDataTable tablemessagestatus;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestatusRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagestatus = ((messagestatusDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagestatus.snColumn]));
}
set {
this[this.tablemessagestatus.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablemessagestatus.usernameColumn]));
}
set {
this[this.tablemessagestatus.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MessageID {
get {
return ((string)(this[this.tablemessagestatus.MessageIDColumn]));
}
set {
this[this.tablemessagestatus.MessageIDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MessageState {
get {
return ((string)(this[this.tablemessagestatus.MessageStateColumn]));
}
set {
this[this.tablemessagestatus.MessageStateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NetworkError {
get {
return ((string)(this[this.tablemessagestatus.NetworkErrorColumn]));
}
set {
this[this.tablemessagestatus.NetworkErrorColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tablemessagestatus.statusColumn]));
}
set {
this[this.tablemessagestatus.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime datesent {
get {
return ((global::System.DateTime)(this[this.tablemessagestatus.datesentColumn]));
}
set {
this[this.tablemessagestatus.datesentColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class messagestatussmppRow : global::System.Data.DataRow {
private messagestatussmppDataTable tablemessagestatussmpp;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal messagestatussmppRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablemessagestatussmpp = ((messagestatussmppDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablemessagestatussmpp.snColumn]));
}
set {
this[this.tablemessagestatussmpp.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablemessagestatussmpp.usernameColumn]));
}
set {
this[this.tablemessagestatussmpp.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MessageID {
get {
return ((string)(this[this.tablemessagestatussmpp.MessageIDColumn]));
}
set {
this[this.tablemessagestatussmpp.MessageIDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Sender {
get {
return ((string)(this[this.tablemessagestatussmpp.SenderColumn]));
}
set {
this[this.tablemessagestatussmpp.SenderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Destination {
get {
return ((string)(this[this.tablemessagestatussmpp.DestinationColumn]));
}
set {
this[this.tablemessagestatussmpp.DestinationColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MessageState {
get {
return ((string)(this[this.tablemessagestatussmpp.MessageStateColumn]));
}
set {
this[this.tablemessagestatussmpp.MessageStateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NetworkError {
get {
return ((string)(this[this.tablemessagestatussmpp.NetworkErrorColumn]));
}
set {
this[this.tablemessagestatussmpp.NetworkErrorColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tablemessagestatussmpp.statusColumn]));
}
set {
this[this.tablemessagestatussmpp.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime datesent {
get {
return ((global::System.DateTime)(this[this.tablemessagestatussmpp.datesentColumn]));
}
set {
this[this.tablemessagestatussmpp.datesentColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class routingRow : global::System.Data.DataRow {
private routingDataTable tablerouting;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal routingRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablerouting = ((routingDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablerouting.snColumn]));
}
set {
this[this.tablerouting.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Country {
get {
return ((string)(this[this.tablerouting.CountryColumn]));
}
set {
this[this.tablerouting.CountryColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string CCode {
get {
return ((string)(this[this.tablerouting.CCodeColumn]));
}
set {
this[this.tablerouting.CCodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string _operator {
get {
return ((string)(this[this.tablerouting.operatorColumn]));
}
set {
this[this.tablerouting.operatorColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MCCMNC {
get {
return ((string)(this[this.tablerouting.MCCMNCColumn]));
}
set {
this[this.tablerouting.MCCMNCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string NDC {
get {
return ((string)(this[this.tablerouting.NDCColumn]));
}
set {
this[this.tablerouting.NDCColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class routingdetailsRow : global::System.Data.DataRow {
private routingdetailsDataTable tableroutingdetails;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal routingdetailsRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableroutingdetails = ((routingdetailsDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableroutingdetails.snColumn]));
}
set {
this[this.tableroutingdetails.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP1 {
get {
return ((string)(this[this.tableroutingdetails.RP1Column]));
}
set {
this[this.tableroutingdetails.RP1Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP2 {
get {
return ((string)(this[this.tableroutingdetails.RP2Column]));
}
set {
this[this.tableroutingdetails.RP2Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP3 {
get {
return ((string)(this[this.tableroutingdetails.RP3Column]));
}
set {
this[this.tableroutingdetails.RP3Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP4 {
get {
return ((string)(this[this.tableroutingdetails.RP4Column]));
}
set {
this[this.tableroutingdetails.RP4Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP5 {
get {
return ((string)(this[this.tableroutingdetails.RP5Column]));
}
set {
this[this.tableroutingdetails.RP5Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP6 {
get {
return ((string)(this[this.tableroutingdetails.RP6Column]));
}
set {
this[this.tableroutingdetails.RP6Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP7 {
get {
return ((string)(this[this.tableroutingdetails.RP7Column]));
}
set {
this[this.tableroutingdetails.RP7Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP8 {
get {
return ((string)(this[this.tableroutingdetails.RP8Column]));
}
set {
this[this.tableroutingdetails.RP8Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP9 {
get {
return ((string)(this[this.tableroutingdetails.RP9Column]));
}
set {
this[this.tableroutingdetails.RP9Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string RP10 {
get {
return ((string)(this[this.tableroutingdetails.RP10Column]));
}
set {
this[this.tableroutingdetails.RP10Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MCCMNC {
get {
return ((string)(this[this.tableroutingdetails.MCCMNCColumn]));
}
set {
this[this.tableroutingdetails.MCCMNCColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string route {
get {
return ((string)(this[this.tableroutingdetails.routeColumn]));
}
set {
this[this.tableroutingdetails.routeColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class scheduleRow : global::System.Data.DataRow {
private scheduleDataTable tableschedule;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal scheduleRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableschedule = ((scheduleDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableschedule.snColumn]));
}
set {
this[this.tableschedule.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string transid {
get {
return ((string)(this[this.tableschedule.transidColumn]));
}
set {
this[this.tableschedule.transidColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tableschedule.usernameColumn]));
}
set {
this[this.tableschedule.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string bookname {
get {
return ((string)(this[this.tableschedule.booknameColumn]));
}
set {
this[this.tableschedule.booknameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string message {
get {
return ((string)(this[this.tableschedule.messageColumn]));
}
set {
this[this.tableschedule.messageColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sender {
get {
return ((string)(this[this.tableschedule.senderColumn]));
}
set {
this[this.tableschedule.senderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string status {
get {
return ((string)(this[this.tableschedule.statusColumn]));
}
set {
this[this.tableschedule.statusColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string messtype {
get {
return ((string)(this[this.tableschedule.messtypeColumn]));
}
set {
this[this.tableschedule.messtypeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tableschedule.dateusedColumn]));
}
set {
this[this.tableschedule.dateusedColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string domain {
get {
return ((string)(this[this.tableschedule.domainColumn]));
}
set {
this[this.tableschedule.domainColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class smsaccountRow : global::System.Data.DataRow {
private smsaccountDataTable tablesmsaccount;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal smsaccountRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablesmsaccount = ((smsaccountDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablesmsaccount.snColumn]));
}
set {
this[this.tablesmsaccount.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablesmsaccount.usernameColumn]));
}
set {
this[this.tablesmsaccount.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal balnaira {
get {
return ((decimal)(this[this.tablesmsaccount.balnairaColumn]));
}
set {
this[this.tablesmsaccount.balnairaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal baleuro {
get {
return ((decimal)(this[this.tablesmsaccount.baleuroColumn]));
}
set {
this[this.tablesmsaccount.baleuroColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal baldollar {
get {
return ((decimal)(this[this.tablesmsaccount.baldollarColumn]));
}
set {
this[this.tablesmsaccount.baldollarColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime dateused {
get {
return ((global::System.DateTime)(this[this.tablesmsaccount.dateusedColumn]));
}
set {
this[this.tablesmsaccount.dateusedColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class smsprofileRow : global::System.Data.DataRow {
private smsprofileDataTable tablesmsprofile;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal smsprofileRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablesmsprofile = ((smsprofileDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablesmsprofile.snColumn]));
}
set {
this[this.tablesmsprofile.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tablesmsprofile.usernameColumn]));
}
set {
this[this.tablesmsprofile.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string subprofile {
get {
return ((string)(this[this.tablesmsprofile.subprofileColumn]));
}
set {
this[this.tablesmsprofile.subprofileColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string rateprofile {
get {
return ((string)(this[this.tablesmsprofile.rateprofileColumn]));
}
set {
this[this.tablesmsprofile.rateprofileColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class statusRow : global::System.Data.DataRow {
private statusDataTable tablestatus;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal statusRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablestatus = ((statusDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tablestatus.snColumn]));
}
set {
this[this.tablestatus.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Code {
get {
return ((string)(this[this.tablestatus.CodeColumn]));
}
set {
this[this.tablestatus.CodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string Description {
get {
return ((string)(this[this.tablestatus.DescriptionColumn]));
}
set {
this[this.tablestatus.DescriptionColumn] = value;
}
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class userloginRow : global::System.Data.DataRow {
private userloginDataTable tableuserlogin;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal userloginRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableuserlogin = ((userloginDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int sn {
get {
return ((int)(this[this.tableuserlogin.snColumn]));
}
set {
this[this.tableuserlogin.snColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string username {
get {
return ((string)(this[this.tableuserlogin.usernameColumn]));
}
set {
this[this.tableuserlogin.usernameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string pass {
get {
return ((string)(this[this.tableuserlogin.passColumn]));
}
set {
this[this.tableuserlogin.passColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ClientIP {
get {
return ((string)(this[this.tableuserlogin.ClientIPColumn]));
}
set {
this[this.tableuserlogin.ClientIPColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string email {
get {
return ((string)(this[this.tableuserlogin.emailColumn]));
}
set {
this[this.tableuserlogin.emailColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string FullName {
get {
return ((string)(this[this.tableuserlogin.FullNameColumn]));
}
set {
this[this.tableuserlogin.FullNameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string phonenumber {
get {
return ((string)(this[this.tableuserlogin.phonenumberColumn]));
}
set {
this[this.tableuserlogin.phonenumberColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string country {
get {
return ((string)(this[this.tableuserlogin.countryColumn]));
}
set {
this[this.tableuserlogin.countryColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string state {
get {
return ((string)(this[this.tableuserlogin.stateColumn]));
}
set {
this[this.tableuserlogin.stateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string address {
get {
return ((string)(this[this.tableuserlogin.addressColumn]));
}
set {
this[this.tableuserlogin.addressColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string mlock {
get {
return ((string)(this[this.tableuserlogin.mlockColumn]));
}
set {
this[this.tableuserlogin.mlockColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string gender {
get {
return ((string)(this[this.tableuserlogin.genderColumn]));
}
set {
this[this.tableuserlogin.genderColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string zipcode {
get {
return ((string)(this[this.tableuserlogin.zipcodeColumn]));
}
set {
this[this.tableuserlogin.zipcodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string referrer {
get {
return ((string)(this[this.tableuserlogin.referrerColumn]));
}
set {
this[this.tableuserlogin.referrerColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime lastlogin {
get {
return ((global::System.DateTime)(this[this.tableuserlogin.lastloginColumn]));
}
set {
this[this.tableuserlogin.lastloginColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string birthday {
get {
return ((string)(this[this.tableuserlogin.birthdayColumn]));
}
set {
this[this.tableuserlogin.birthdayColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string birthmonth {
get {
return ((string)(this[this.tableuserlogin.birthmonthColumn]));
}
set {
this[this.tableuserlogin.birthmonthColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string activationcode {
get {
return ((string)(this[this.tableuserlogin.activationcodeColumn]));
}
set {
this[this.tableuserlogin.activationcodeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string countrylaw {
get {
return ((string)(this[this.tableuserlogin.countrylawColumn]));
}
set {
this[this.tableuserlogin.countrylawColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public byte[] pin {
get {
return ((byte[])(this[this.tableuserlogin.pinColumn]));
}
set {
this[this.tableuserlogin.pinColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime datecreated {
get {
return ((global::System.DateTime)(this[this.tableuserlogin.datecreatedColumn]));
}
set {
this[this.tableuserlogin.datecreatedColumn] = value;
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class accounthistoryRowChangeEvent : global::System.EventArgs {
private accounthistoryRow 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 accounthistoryRowChangeEvent(accounthistoryRow 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 accounthistoryRow 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 addressbookRowChangeEvent : global::System.EventArgs {
private addressbookRow 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 addressbookRowChangeEvent(addressbookRow 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 addressbookRow 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 loginhistoryRowChangeEvent : global::System.EventArgs {
private loginhistoryRow 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 loginhistoryRowChangeEvent(loginhistoryRow 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 loginhistoryRow 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 messagesentRowChangeEvent : global::System.EventArgs {
private messagesentRow 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 messagesentRowChangeEvent(messagesentRow 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 messagesentRow 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 messagesentaddressbookRowChangeEvent : global::System.EventArgs {
private messagesentaddressbookRow 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 messagesentaddressbookRowChangeEvent(messagesentaddressbookRow 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 messagesentaddressbookRow 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 messagesentsingleRowChangeEvent : global::System.EventArgs {
private messagesentsingleRow 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 messagesentsingleRowChangeEvent(messagesentsingleRow 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 messagesentsingleRow 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 messagestateRowChangeEvent : global::System.EventArgs {
private messagestateRow 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 messagestateRowChangeEvent(messagestateRow 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 messagestateRow 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 messagestatusRowChangeEvent : global::System.EventArgs {
private messagestatusRow 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 messagestatusRowChangeEvent(messagestatusRow 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 messagestatusRow 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 messagestatussmppRowChangeEvent : global::System.EventArgs {
private messagestatussmppRow 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 messagestatussmppRowChangeEvent(messagestatussmppRow 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 messagestatussmppRow 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 routingRowChangeEvent : global::System.EventArgs {
private routingRow 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 routingRowChangeEvent(routingRow 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 routingRow 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 routingdetailsRowChangeEvent : global::System.EventArgs {
private routingdetailsRow 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 routingdetailsRowChangeEvent(routingdetailsRow 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 routingdetailsRow 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 scheduleRowChangeEvent : global::System.EventArgs {
private scheduleRow 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 scheduleRowChangeEvent(scheduleRow 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 scheduleRow 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 smsaccountRowChangeEvent : global::System.EventArgs {
private smsaccountRow 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 smsaccountRowChangeEvent(smsaccountRow 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 smsaccountRow 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 smsprofileRowChangeEvent : global::System.EventArgs {
private smsprofileRow 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 smsprofileRowChangeEvent(smsprofileRow 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 smsprofileRow 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 statusRowChangeEvent : global::System.EventArgs {
private statusRow 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 statusRowChangeEvent(statusRow 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 statusRow 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 userloginRowChangeEvent : global::System.EventArgs {
private userloginRow 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 userloginRowChangeEvent(userloginRow 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 userloginRow 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;
}
}
}
}
}
namespace schedule.smartsmsrouterDataSetTableAdapters {
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class accounthistoryTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public accounthistoryTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "accounthistory";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("transid", "transid");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("oldbal", "oldbal");
tableMapping.ColumnMappings.Add("amtcharged", "amtcharged");
tableMapping.ColumnMappings.Add("newbal", "newbal");
tableMapping.ColumnMappings.Add("Page", "Page");
tableMapping.ColumnMappings.Add("gateway", "gateway");
tableMapping.ColumnMappings.Add("dateused", "dateused");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `accounthistory` WHERE ((`sn` = @p1) AND (`transid` = @p2) AND (`user" +
"name` = @p3) AND (`oldbal` = @p4) AND (`amtcharged` = @p5) AND (`newbal` = @p6) " +
"AND (`Page` = @p7) AND (`gateway` = @p8) AND (`dateused` = @p9))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "oldbal";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "newbal";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Page";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gateway";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `accounthistory` (`transid`, `username`, `oldbal`, `amtcharged`, `new" +
"bal`, `Page`, `gateway`, `dateused`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, " +
"@p8)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "oldbal";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "newbal";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Page";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gateway";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `accounthistory` SET `transid` = @p1, `username` = @p2, `oldbal` = @p3, `amtcharged` = @p4, `newbal` = @p5, `Page` = @p6, `gateway` = @p7, `dateused` = @p8 WHERE ((`sn` = @p9) AND (`transid` = @p10) AND (`username` = @p11) AND (`oldbal` = @p12) AND (`amtcharged` = @p13) AND (`newbal` = @p14) AND (`Page` = @p15) AND (`gateway` = @p16) AND (`dateused` = @p17))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "oldbal";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "newbal";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Page";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gateway";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "oldbal";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "newbal";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Page";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gateway";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `transid`, `username`, `oldbal`, `amtcharged`, `newbal`, `Page`, `ga" +
"teway`, `dateused` FROM `accounthistory`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.accounthistoryDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.accounthistoryDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.accounthistoryDataTable dataTable = new smartsmsrouterDataSet.accounthistoryDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.accounthistoryDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "accounthistory");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, decimal p4, decimal p5, decimal p6, string p7, string p8, System.DateTime p9) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(p5));
this.Adapter.DeleteCommand.Parameters[5].Value = ((decimal)(p6));
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(p9));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, decimal p3, decimal p4, decimal p5, string p6, string p7, System.DateTime p8) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(p3));
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(p5));
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(p8));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
decimal p3,
decimal p4,
decimal p5,
string p6,
string p7,
System.DateTime p8,
int p9,
string p10,
string p11,
decimal p12,
decimal p13,
decimal p14,
string p15,
string p16,
System.DateTime p17) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(p3));
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(p5));
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(p8));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(p12));
this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(p13));
this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(p14));
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(p17));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class addressbookTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public addressbookTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "addressbook";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("bookname", "bookname");
tableMapping.ColumnMappings.Add("phonenumber", "phonenumber");
tableMapping.ColumnMappings.Add("field1", "field1");
tableMapping.ColumnMappings.Add("field2", "field2");
tableMapping.ColumnMappings.Add("field3", "field3");
tableMapping.ColumnMappings.Add("field4", "field4");
tableMapping.ColumnMappings.Add("field5", "field5");
tableMapping.ColumnMappings.Add("dateused", "dateused");
tableMapping.ColumnMappings.Add("domain", "domain");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM `addressbook` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`bookname` = @p3) AND (`phonenumber` = @p4) AND (`field1` = @p5) AND (`field2` = @p6) AND (`field3` = @p7) AND (`field4` = @p8) AND (`field5` = @p9) AND (`dateused` = @p10) AND (`domain` = @p11))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field1";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field2";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field3";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field4";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field5";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `addressbook` (`username`, `bookname`, `phonenumber`, `field1`, `fiel" +
"d2`, `field3`, `field4`, `field5`, `dateused`, `domain`) VALUES (@p1, @p2, @p3, " +
"@p4, @p5, @p6, @p7, @p8, @p9, @p10)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field1";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field2";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field3";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field4";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field5";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `addressbook` SET `username` = @p1, `bookname` = @p2, `phonenumber` = @p3, `field1` = @p4, `field2` = @p5, `field3` = @p6, `field4` = @p7, `field5` = @p8, `dateused` = @p9, `domain` = @p10 WHERE ((`sn` = @p11) AND (`username` = @p12) AND (`bookname` = @p13) AND (`phonenumber` = @p14) AND (`field1` = @p15) AND (`field2` = @p16) AND (`field3` = @p17) AND (`field4` = @p18) AND (`field5` = @p19) AND (`dateused` = @p20) AND (`domain` = @p21))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field1";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field2";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field3";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field4";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field5";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field1";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field2";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field3";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field4";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "field5";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p21";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `bookname`, `phonenumber`, `field1`, `field2`, `field3`," +
" `field4`, `field5`, `dateused`, `domain` FROM `addressbook`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.addressbookDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.addressbookDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.addressbookDataTable dataTable = new smartsmsrouterDataSet.addressbookDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.addressbookDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "addressbook");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, string p9, System.DateTime p10, string p11) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(p9));
}
this.Adapter.DeleteCommand.Parameters[9].Value = ((System.DateTime)(p10));
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(p11));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, System.DateTime p9, string p10) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(p10));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
System.DateTime p9,
string p10,
int p11,
string p12,
string p13,
string p14,
string p15,
string p16,
string p17,
string p18,
string p19,
System.DateTime p20,
string p21) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(p11));
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(p19));
}
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(p20));
if ((p21 == null)) {
throw new global::System.ArgumentNullException("p21");
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(p21));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class loginhistoryTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public loginhistoryTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "loginhistory";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("pass", "pass");
tableMapping.ColumnMappings.Add("clientRemoteIP", "clientRemoteIP");
tableMapping.ColumnMappings.Add("datesent", "datesent");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `loginhistory` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`pass`" +
" = @p3) AND (`clientRemoteIP` = @p4) AND (`datesent` = @p5))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "clientRemoteIP";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `loginhistory` (`username`, `pass`, `clientRemoteIP`, `datesent`) VAL" +
"UES (@p1, @p2, @p3, @p4)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "clientRemoteIP";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `loginhistory` SET `username` = @p1, `pass` = @p2, `clientRemoteIP` = @p3," +
" `datesent` = @p4 WHERE ((`sn` = @p5) AND (`username` = @p6) AND (`pass` = @p7) " +
"AND (`clientRemoteIP` = @p8) AND (`datesent` = @p9))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "clientRemoteIP";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "clientRemoteIP";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `pass`, `clientRemoteIP`, `datesent` FROM `loginhistory`" +
"";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.loginhistoryDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.loginhistoryDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.loginhistoryDataTable dataTable = new smartsmsrouterDataSet.loginhistoryDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.loginhistoryDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "loginhistory");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, System.DateTime p5) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(p5));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, System.DateTime p4) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(p4));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, string p3, System.DateTime p4, int p5, string p6, string p7, string p8, System.DateTime p9) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(p4));
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(p5));
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(p9));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagesentTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagesent";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("transid", "transid");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("phonenumber", "phonenumber");
tableMapping.ColumnMappings.Add("sender", "sender");
tableMapping.ColumnMappings.Add("message", "message");
tableMapping.ColumnMappings.Add("messageID", "messageID");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("result", "result");
tableMapping.ColumnMappings.Add("failurereason", "failurereason");
tableMapping.ColumnMappings.Add("statuscode", "statuscode");
tableMapping.ColumnMappings.Add("failurecode", "failurecode");
tableMapping.ColumnMappings.Add("sentcode", "sentcode");
tableMapping.ColumnMappings.Add("billcode", "billcode");
tableMapping.ColumnMappings.Add("amtcharged", "amtcharged");
tableMapping.ColumnMappings.Add("mcount", "mcount");
tableMapping.ColumnMappings.Add("route", "route");
tableMapping.ColumnMappings.Add("MCCMNC", "MCCMNC");
tableMapping.ColumnMappings.Add("messtype", "messtype");
tableMapping.ColumnMappings.Add("domain", "domain");
tableMapping.ColumnMappings.Add("dateused", "dateused");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM `messagesent` WHERE ((`sn` = @p1) AND (`transid` = @p2) AND (`username` = @p3) AND (`phonenumber` = @p4) AND (`sender` = @p5) AND (`message` = @p6) AND (`messageID` = @p7) AND (`status` = @p8) AND (`result` = @p9) AND (`failurereason` = @p10) AND (`statuscode` = @p11) AND (`failurecode` = @p12) AND (`sentcode` = @p13) AND (`billcode` = @p14) AND (`amtcharged` = @p15) AND (`mcount` = @p16) AND (`route` = @p17) AND (`MCCMNC` = @p18) AND (`messtype` = @p19) AND (`domain` = @p20) AND (`dateused` = @p21))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "result";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurereason";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "statuscode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurecode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sentcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "billcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "mcount";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p21";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO `messagesent` (`transid`, `username`, `phonenumber`, `sender`, `message`, `messageID`, `status`, `result`, `failurereason`, `statuscode`, `failurecode`, `sentcode`, `billcode`, `amtcharged`, `mcount`, `route`, `MCCMNC`, `messtype`, `domain`, `dateused`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messageID";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "result";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurereason";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "statuscode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurecode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sentcode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "billcode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "mcount";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `messagesent` SET `transid` = @p1, `username` = @p2, `phonenumber` = @p3, `sender` = @p4, `message` = @p5, `messageID` = @p6, `status` = @p7, `result` = @p8, `failurereason` = @p9, `statuscode` = @p10, `failurecode` = @p11, `sentcode` = @p12, `billcode` = @p13, `amtcharged` = @p14, `mcount` = @p15, `route` = @p16, `MCCMNC` = @p17, `messtype` = @p18, `domain` = @p19, `dateused` = @p20 WHERE ((`sn` = @p21) AND (`transid` = @p22) AND (`username` = @p23) AND (`phonenumber` = @p24) AND (`sender` = @p25) AND (`message` = @p26) AND (`messageID` = @p27) AND (`status` = @p28) AND (`result` = @p29) AND (`failurereason` = @p30) AND (`statuscode` = @p31) AND (`failurecode` = @p32) AND (`sentcode` = @p33) AND (`billcode` = @p34) AND (`amtcharged` = @p35) AND (`mcount` = @p36) AND (`route` = @p37) AND (`MCCMNC` = @p38) AND (`messtype` = @p39) AND (`domain` = @p40) AND (`dateused` = @p41))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messageID";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "result";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurereason";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "statuscode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurecode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sentcode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "billcode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "mcount";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p21";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p22";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p23";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p24";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p25";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p26";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p27";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p28";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p29";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "result";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p30";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurereason";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p31";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "statuscode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p32";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "failurecode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p33";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sentcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p34";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "billcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p35";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "amtcharged";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p36";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "mcount";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p37";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p38";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p39";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p40";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p41";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT `sn`, `transid`, `username`, `phonenumber`, `sender`, `message`, `messageID`, `status`, `result`, `failurereason`, `statuscode`, `failurecode`, `sentcode`, `billcode`, `amtcharged`, `mcount`, `route`, `MCCMNC`, `messtype`, `domain`, `dateused` FROM `messagesent`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagesentDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagesentDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagesentDataTable dataTable = new smartsmsrouterDataSet.messagesentDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagesentDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagesent");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(
int p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
string p14,
string p15,
int p16,
string p17,
string p18,
string p19,
string p20,
System.DateTime p21) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(p15));
}
this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(p16));
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(p19));
}
if ((p20 == null)) {
throw new global::System.ArgumentNullException("p20");
}
else {
this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(p20));
}
this.Adapter.DeleteCommand.Parameters[20].Value = ((System.DateTime)(p21));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
string p14,
int p15,
string p16,
string p17,
string p18,
string p19,
System.DateTime p20) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(p14));
}
this.Adapter.InsertCommand.Parameters[14].Value = ((int)(p15));
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.InsertCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.InsertCommand.Parameters[18].Value = ((string)(p19));
}
this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(p20));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
string p14,
int p15,
string p16,
string p17,
string p18,
string p19,
System.DateTime p20,
int p21,
string p22,
string p23,
string p24,
string p25,
string p26,
string p27,
string p28,
string p29,
string p30,
string p31,
string p32,
string p33,
string p34,
string p35,
int p36,
string p37,
string p38,
string p39,
string p40,
System.DateTime p41) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(p15));
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(p19));
}
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(p20));
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(p21));
if ((p22 == null)) {
throw new global::System.ArgumentNullException("p22");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(p22));
}
if ((p23 == null)) {
throw new global::System.ArgumentNullException("p23");
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(p23));
}
if ((p24 == null)) {
throw new global::System.ArgumentNullException("p24");
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(p24));
}
if ((p25 == null)) {
throw new global::System.ArgumentNullException("p25");
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(p25));
}
if ((p26 == null)) {
throw new global::System.ArgumentNullException("p26");
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(p26));
}
if ((p27 == null)) {
throw new global::System.ArgumentNullException("p27");
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(p27));
}
if ((p28 == null)) {
throw new global::System.ArgumentNullException("p28");
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(p28));
}
if ((p29 == null)) {
throw new global::System.ArgumentNullException("p29");
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(p29));
}
if ((p30 == null)) {
throw new global::System.ArgumentNullException("p30");
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(p30));
}
if ((p31 == null)) {
throw new global::System.ArgumentNullException("p31");
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(p31));
}
if ((p32 == null)) {
throw new global::System.ArgumentNullException("p32");
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(p32));
}
if ((p33 == null)) {
throw new global::System.ArgumentNullException("p33");
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(p33));
}
if ((p34 == null)) {
throw new global::System.ArgumentNullException("p34");
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(p34));
}
if ((p35 == null)) {
throw new global::System.ArgumentNullException("p35");
}
else {
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(p35));
}
this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(p36));
if ((p37 == null)) {
throw new global::System.ArgumentNullException("p37");
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(p37));
}
if ((p38 == null)) {
throw new global::System.ArgumentNullException("p38");
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(p38));
}
if ((p39 == null)) {
throw new global::System.ArgumentNullException("p39");
}
else {
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(p39));
}
if ((p40 == null)) {
throw new global::System.ArgumentNullException("p40");
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(p40));
}
this.Adapter.UpdateCommand.Parameters[40].Value = ((System.DateTime)(p41));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagesentaddressbookTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentaddressbookTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagesentaddressbook";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("transid", "transid");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("bookname", "bookname");
tableMapping.ColumnMappings.Add("message", "message");
tableMapping.ColumnMappings.Add("sender", "sender");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("dateused", "dateused");
tableMapping.ColumnMappings.Add("domain", "domain");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `messagesentaddressbook` WHERE ((`sn` = @p1) AND (`transid` = @p2) AN" +
"D (`username` = @p3) AND (`bookname` = @p4) AND (`message` = @p5) AND (`sender` " +
"= @p6) AND (`status` = @p7) AND (`dateused` = @p8) AND (`domain` = @p9))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `messagesentaddressbook` (`transid`, `username`, `bookname`, `message" +
"`, `sender`, `status`, `dateused`, `domain`) VALUES (@p1, @p2, @p3, @p4, @p5, @p" +
"6, @p7, @p8)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `messagesentaddressbook` SET `transid` = @p1, `username` = @p2, `bookname` = @p3, `message` = @p4, `sender` = @p5, `status` = @p6, `dateused` = @p7, `domain` = @p8 WHERE ((`sn` = @p9) AND (`transid` = @p10) AND (`username` = @p11) AND (`bookname` = @p12) AND (`message` = @p13) AND (`sender` = @p14) AND (`status` = @p15) AND (`dateused` = @p16) AND (`domain` = @p17))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `transid`, `username`, `bookname`, `message`, `sender`, `status`, `d" +
"ateused`, `domain` FROM `messagesentaddressbook`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagesentaddressbookDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagesentaddressbookDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagesentaddressbookDataTable dataTable = new smartsmsrouterDataSet.messagesentaddressbookDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagesentaddressbookDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagesentaddressbook");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, System.DateTime p8, string p9) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(p8));
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(p9));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, System.DateTime p7, string p8) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(p7));
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(p8));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
System.DateTime p7,
string p8,
int p9,
string p10,
string p11,
string p12,
string p13,
string p14,
string p15,
System.DateTime p16,
string p17) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(p7));
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(p16));
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagesentsingleTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagesentsingleTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagesentsingle";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("transid", "transid");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("phonenumber", "phonenumber");
tableMapping.ColumnMappings.Add("message", "message");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("sender", "sender");
tableMapping.ColumnMappings.Add("domain", "domain");
tableMapping.ColumnMappings.Add("dateused", "dateused");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `messagesentsingle` WHERE ((`sn` = @p1) AND (`transid` = @p2) AND (`u" +
"sername` = @p3) AND (`phonenumber` = @p4) AND (`message` = @p5) AND (`status` = " +
"@p6) AND (`sender` = @p7) AND (`domain` = @p8) AND (`dateused` = @p9))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `messagesentsingle` (`transid`, `username`, `phonenumber`, `message`," +
" `status`, `sender`, `domain`, `dateused`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6," +
" @p7, @p8)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `messagesentsingle` SET `transid` = @p1, `username` = @p2, `phonenumber` = @p3, `message` = @p4, `status` = @p5, `sender` = @p6, `domain` = @p7, `dateused` = @p8 WHERE ((`sn` = @p9) AND (`transid` = @p10) AND (`username` = @p11) AND (`phonenumber` = @p12) AND (`message` = @p13) AND (`status` = @p14) AND (`sender` = @p15) AND (`domain` = @p16) AND (`dateused` = @p17))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `transid`, `username`, `phonenumber`, `message`, `status`, `sender`," +
" `domain`, `dateused` FROM `messagesentsingle`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagesentsingleDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagesentsingleDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagesentsingleDataTable dataTable = new smartsmsrouterDataSet.messagesentsingleDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagesentsingleDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagesentsingle");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, System.DateTime p9) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(p9));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, string p7, System.DateTime p8) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(p8));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
System.DateTime p8,
int p9,
string p10,
string p11,
string p12,
string p13,
string p14,
string p15,
string p16,
System.DateTime p17) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(p8));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(p17));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagestateTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestateTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagestate";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("Code", "Code");
tableMapping.ColumnMappings.Add("Description", "Description");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `messagestate` WHERE ((`sn` = @p1) AND (`Code` = @p2) AND (`Descripti" +
"on` = @p3))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `messagestate` (`Code`, `Description`) VALUES (@p1, @p2)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `messagestate` SET `Code` = @p1, `Description` = @p2 WHERE ((`sn` = @p3) A" +
"ND (`Code` = @p4) AND (`Description` = @p5))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `Code`, `Description` FROM `messagestate`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagestateDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagestateDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagestateDataTable dataTable = new smartsmsrouterDataSet.messagestateDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagestateDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagestate");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, int p3, string p4, string p5) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(p3));
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagestatusTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatusTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagestatus";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("MessageID", "MessageID");
tableMapping.ColumnMappings.Add("MessageState", "MessageState");
tableMapping.ColumnMappings.Add("NetworkError", "NetworkError");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("datesent", "datesent");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `messagestatus` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`Mess" +
"ageID` = @p3) AND (`MessageState` = @p4) AND (`NetworkError` = @p5) AND (`status" +
"` = @p6) AND (`datesent` = @p7))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `messagestatus` (`username`, `MessageID`, `MessageState`, `NetworkErr" +
"or`, `status`, `datesent`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `messagestatus` SET `username` = @p1, `MessageID` = @p2, `MessageState` = @p3, `NetworkError` = @p4, `status` = @p5, `datesent` = @p6 WHERE ((`sn` = @p7) AND (`username` = @p8) AND (`MessageID` = @p9) AND (`MessageState` = @p10) AND (`NetworkError` = @p11) AND (`status` = @p12) AND (`datesent` = @p13))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `MessageID`, `MessageState`, `NetworkError`, `status`, `" +
"datesent` FROM `messagestatus`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagestatusDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagestatusDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagestatusDataTable dataTable = new smartsmsrouterDataSet.messagestatusDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagestatusDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagestatus");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, System.DateTime p7) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(p7));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, System.DateTime p6) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(p6));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, string p3, string p4, string p5, System.DateTime p6, int p7, string p8, string p9, string p10, string p11, string p12, System.DateTime p13) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(p6));
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(p7));
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(p13));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class messagestatussmppTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public messagestatussmppTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "messagestatussmpp";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("MessageID", "MessageID");
tableMapping.ColumnMappings.Add("Sender", "Sender");
tableMapping.ColumnMappings.Add("Destination", "Destination");
tableMapping.ColumnMappings.Add("MessageState", "MessageState");
tableMapping.ColumnMappings.Add("NetworkError", "NetworkError");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("datesent", "datesent");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `messagestatussmpp` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`" +
"MessageID` = @p3) AND (`Sender` = @p4) AND (`Destination` = @p5) AND (`MessageSt" +
"ate` = @p6) AND (`NetworkError` = @p7) AND (`status` = @p8) AND (`datesent` = @p" +
"9))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Destination";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `messagestatussmpp` (`username`, `MessageID`, `Sender`, `Destination`" +
", `MessageState`, `NetworkError`, `status`, `datesent`) VALUES (@p1, @p2, @p3, @" +
"p4, @p5, @p6, @p7, @p8)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Sender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Destination";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `messagestatussmpp` SET `username` = @p1, `MessageID` = @p2, `Sender` = @p3, `Destination` = @p4, `MessageState` = @p5, `NetworkError` = @p6, `status` = @p7, `datesent` = @p8 WHERE ((`sn` = @p9) AND (`username` = @p10) AND (`MessageID` = @p11) AND (`Sender` = @p12) AND (`Destination` = @p13) AND (`MessageState` = @p14) AND (`NetworkError` = @p15) AND (`status` = @p16) AND (`datesent` = @p17))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Sender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Destination";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageID";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Destination";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MessageState";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NetworkError";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datesent";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `MessageID`, `Sender`, `Destination`, `MessageState`, `N" +
"etworkError`, `status`, `datesent` FROM `messagestatussmpp`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.messagestatussmppDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.messagestatussmppDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.messagestatussmppDataTable dataTable = new smartsmsrouterDataSet.messagestatussmppDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.messagestatussmppDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "messagestatussmpp");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, System.DateTime p9) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(p9));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, string p7, System.DateTime p8) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(p8));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
System.DateTime p8,
int p9,
string p10,
string p11,
string p12,
string p13,
string p14,
string p15,
string p16,
System.DateTime p17) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(p8));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((System.DateTime)(p17));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class routingTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "routing";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("Country", "Country");
tableMapping.ColumnMappings.Add("CCode", "CCode");
tableMapping.ColumnMappings.Add("operator", "operator");
tableMapping.ColumnMappings.Add("MCCMNC", "MCCMNC");
tableMapping.ColumnMappings.Add("NDC", "NDC");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `routing` WHERE ((`sn` = @p1) AND (`Country` = @p2) AND (`CCode` = @p" +
"3) AND (`operator` = @p4) AND (`MCCMNC` = @p5) AND (`NDC` = @p6))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Country";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "CCode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "operator";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NDC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `routing` (`Country`, `CCode`, `operator`, `MCCMNC`, `NDC`) VALUES (@" +
"p1, @p2, @p3, @p4, @p5)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Country";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "CCode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "operator";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NDC";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `routing` SET `Country` = @p1, `CCode` = @p2, `operator` = @p3, `MCCMNC` =" +
" @p4, `NDC` = @p5 WHERE ((`sn` = @p6) AND (`Country` = @p7) AND (`CCode` = @p8) " +
"AND (`operator` = @p9) AND (`MCCMNC` = @p10) AND (`NDC` = @p11))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Country";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "CCode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "operator";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NDC";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Country";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "CCode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "operator";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "NDC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `Country`, `CCode`, `operator`, `MCCMNC`, `NDC` FROM `routing`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.routingDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.routingDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.routingDataTable dataTable = new smartsmsrouterDataSet.routingDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.routingDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "routing");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, string p3, string p4, string p5, int p6, string p7, string p8, string p9, string p10, string p11) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(p6));
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class routingdetailsTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public routingdetailsTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "routingdetails";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("RP1", "RP1");
tableMapping.ColumnMappings.Add("RP2", "RP2");
tableMapping.ColumnMappings.Add("RP3", "RP3");
tableMapping.ColumnMappings.Add("RP4", "RP4");
tableMapping.ColumnMappings.Add("RP5", "RP5");
tableMapping.ColumnMappings.Add("RP6", "RP6");
tableMapping.ColumnMappings.Add("RP7", "RP7");
tableMapping.ColumnMappings.Add("RP8", "RP8");
tableMapping.ColumnMappings.Add("RP9", "RP9");
tableMapping.ColumnMappings.Add("RP10", "RP10");
tableMapping.ColumnMappings.Add("MCCMNC", "MCCMNC");
tableMapping.ColumnMappings.Add("route", "route");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM `routingdetails` WHERE ((`sn` = @p1) AND (`RP1` = @p2) AND (`RP2` = @p3) AND (`RP3` = @p4) AND (`RP4` = @p5) AND (`RP5` = @p6) AND (`RP6` = @p7) AND (`RP7` = @p8) AND (`RP8` = @p9) AND (`RP9` = @p10) AND (`RP10` = @p11) AND (`MCCMNC` = @p12) AND (`route` = @p13))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP1";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP2";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP3";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP4";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP5";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP6";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP7";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP8";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP9";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP10";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `routingdetails` (`RP1`, `RP2`, `RP3`, `RP4`, `RP5`, `RP6`, `RP7`, `R" +
"P8`, `RP9`, `RP10`, `MCCMNC`, `route`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7" +
", @p8, @p9, @p10, @p11, @p12)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP1";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP2";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP3";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP4";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP5";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP6";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP7";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP8";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP9";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP10";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `routingdetails` SET `RP1` = @p1, `RP2` = @p2, `RP3` = @p3, `RP4` = @p4, `RP5` = @p5, `RP6` = @p6, `RP7` = @p7, `RP8` = @p8, `RP9` = @p9, `RP10` = @p10, `MCCMNC` = @p11, `route` = @p12 WHERE ((`sn` = @p13) AND (`RP1` = @p14) AND (`RP2` = @p15) AND (`RP3` = @p16) AND (`RP4` = @p17) AND (`RP5` = @p18) AND (`RP6` = @p19) AND (`RP7` = @p20) AND (`RP8` = @p21) AND (`RP9` = @p22) AND (`RP10` = @p23) AND (`MCCMNC` = @p24) AND (`route` = @p25))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP1";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP2";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP3";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP4";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP5";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP6";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP7";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP8";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP9";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP10";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP1";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP2";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP3";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP4";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP5";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP6";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP7";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p21";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP8";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p22";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP9";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p23";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "RP10";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p24";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "MCCMNC";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p25";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "route";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `RP1`, `RP2`, `RP3`, `RP4`, `RP5`, `RP6`, `RP7`, `RP8`, `RP9`, `RP10" +
"`, `MCCMNC`, `route` FROM `routingdetails`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.routingdetailsDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.routingdetailsDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.routingdetailsDataTable dataTable = new smartsmsrouterDataSet.routingdetailsDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.routingdetailsDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "routingdetails");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, string p9, string p10, string p11, string p12, string p13) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(p13));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, string p9, string p10, string p11, string p12) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(p12));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
int p13,
string p14,
string p15,
string p16,
string p17,
string p18,
string p19,
string p20,
string p21,
string p22,
string p23,
string p24,
string p25) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(p13));
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(p19));
}
if ((p20 == null)) {
throw new global::System.ArgumentNullException("p20");
}
else {
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(p20));
}
if ((p21 == null)) {
throw new global::System.ArgumentNullException("p21");
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(p21));
}
if ((p22 == null)) {
throw new global::System.ArgumentNullException("p22");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(p22));
}
if ((p23 == null)) {
throw new global::System.ArgumentNullException("p23");
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(p23));
}
if ((p24 == null)) {
throw new global::System.ArgumentNullException("p24");
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(p24));
}
if ((p25 == null)) {
throw new global::System.ArgumentNullException("p25");
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(p25));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class scheduleTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public scheduleTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "schedule";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("transid", "transid");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("bookname", "bookname");
tableMapping.ColumnMappings.Add("message", "message");
tableMapping.ColumnMappings.Add("sender", "sender");
tableMapping.ColumnMappings.Add("status", "status");
tableMapping.ColumnMappings.Add("messtype", "messtype");
tableMapping.ColumnMappings.Add("dateused", "dateused");
tableMapping.ColumnMappings.Add("domain", "domain");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `schedule` WHERE ((`sn` = @p1) AND (`transid` = @p2) AND (`username` " +
"= @p3) AND (`bookname` = @p4) AND (`message` = @p5) AND (`sender` = @p6) AND (`s" +
"tatus` = @p7) AND (`messtype` = @p8) AND (`dateused` = @p9) AND (`domain` = @p10" +
"))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `schedule` (`transid`, `username`, `bookname`, `message`, `sender`, `" +
"status`, `messtype`, `dateused`, `domain`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6," +
" @p7, @p8, @p9)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `schedule` SET `transid` = @p1, `username` = @p2, `bookname` = @p3, `message` = @p4, `sender` = @p5, `status` = @p6, `messtype` = @p7, `dateused` = @p8, `domain` = @p9 WHERE ((`sn` = @p10) AND (`transid` = @p11) AND (`username` = @p12) AND (`bookname` = @p13) AND (`message` = @p14) AND (`sender` = @p15) AND (`status` = @p16) AND (`messtype` = @p17) AND (`dateused` = @p18) AND (`domain` = @p19))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "transid";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "bookname";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "message";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "sender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "status";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "messtype";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "domain";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `transid`, `username`, `bookname`, `message`, `sender`, `status`, `m" +
"esstype`, `dateused`, `domain` FROM `schedule`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.scheduleDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.scheduleDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.scheduleDataTable dataTable = new smartsmsrouterDataSet.scheduleDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.scheduleDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "schedule");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4, string p5, string p6, string p7, string p8, System.DateTime p9, string p10) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(p9));
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(p10));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3, string p4, string p5, string p6, string p7, System.DateTime p8, string p9) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(p8));
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(p9));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
System.DateTime p8,
string p9,
int p10,
string p11,
string p12,
string p13,
string p14,
string p15,
string p16,
string p17,
System.DateTime p18,
string p19) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(p8));
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(p10));
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(p14));
}
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
this.Adapter.UpdateCommand.Parameters[17].Value = ((System.DateTime)(p18));
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(p19));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class smsaccountTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsaccountTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "smsaccount";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("balnaira", "balnaira");
tableMapping.ColumnMappings.Add("baleuro", "baleuro");
tableMapping.ColumnMappings.Add("baldollar", "baldollar");
tableMapping.ColumnMappings.Add("dateused", "dateused");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `smsaccount` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`balnair" +
"a` = @p3) AND (`baleuro` = @p4) AND (`baldollar` = @p5) AND (`dateused` = @p6))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "balnaira";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baleuro";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baldollar";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `smsaccount` (`username`, `balnaira`, `baleuro`, `baldollar`, `dateus" +
"ed`) VALUES (@p1, @p2, @p3, @p4, @p5)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "balnaira";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baleuro";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baldollar";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `smsaccount` SET `username` = @p1, `balnaira` = @p2, `baleuro` = @p3, `bal" +
"dollar` = @p4, `dateused` = @p5 WHERE ((`sn` = @p6) AND (`username` = @p7) AND (" +
"`balnaira` = @p8) AND (`baleuro` = @p9) AND (`baldollar` = @p10) AND (`dateused`" +
" = @p11))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "balnaira";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baleuro";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baldollar";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "balnaira";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baleuro";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.Decimal;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.NewDecimal;
param.IsNullable = true;
param.SourceColumn = "baldollar";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "dateused";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `balnaira`, `baleuro`, `baldollar`, `dateused` FROM `sms" +
"account`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.smsaccountDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.smsaccountDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.smsaccountDataTable dataTable = new smartsmsrouterDataSet.smsaccountDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.smsaccountDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "smsaccount");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, decimal p3, decimal p4, decimal p5, System.DateTime p6) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(p3));
this.Adapter.DeleteCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(p5));
this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(p6));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, decimal p2, decimal p3, decimal p4, System.DateTime p5) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
this.Adapter.InsertCommand.Parameters[1].Value = ((decimal)(p2));
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(p3));
this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(p5));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, decimal p2, decimal p3, decimal p4, System.DateTime p5, int p6, string p7, decimal p8, decimal p9, decimal p10, System.DateTime p11) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
this.Adapter.UpdateCommand.Parameters[1].Value = ((decimal)(p2));
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(p3));
this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(p4));
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(p5));
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(p6));
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(p8));
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(p9));
this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(p10));
this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(p11));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class smsprofileTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public smsprofileTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "smsprofile";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("subprofile", "subprofile");
tableMapping.ColumnMappings.Add("rateprofile", "rateprofile");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `smsprofile` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`subprof" +
"ile` = @p3) AND (`rateprofile` = @p4))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "subprofile";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "rateprofile";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `smsprofile` (`username`, `subprofile`, `rateprofile`) VALUES (@p1, @" +
"p2, @p3)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "subprofile";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "rateprofile";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `smsprofile` SET `username` = @p1, `subprofile` = @p2, `rateprofile` = @p3" +
" WHERE ((`sn` = @p4) AND (`username` = @p5) AND (`subprofile` = @p6) AND (`ratep" +
"rofile` = @p7))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "subprofile";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "rateprofile";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "subprofile";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "rateprofile";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `username`, `subprofile`, `rateprofile` FROM `smsprofile`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.smsprofileDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.smsprofileDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.smsprofileDataTable dataTable = new smartsmsrouterDataSet.smsprofileDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.smsprofileDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "smsprofile");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3, string p4) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2, string p3) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, string p3, int p4, string p5, string p6, string p7) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(p4));
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class statusTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public statusTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "status";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("Code", "Code");
tableMapping.ColumnMappings.Add("Description", "Description");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM `status` WHERE ((`sn` = @p1) AND (`Code` = @p2) AND (`Description` = " +
"@p3))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = "INSERT INTO `status` (`Code`, `Description`) VALUES (@p1, @p2)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE `status` SET `Code` = @p1, `Description` = @p2 WHERE ((`sn` = @p3) AND (`C" +
"ode` = @p4) AND (`Description` = @p5))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Code";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "Description";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT `sn`, `Code`, `Description` FROM `status`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.statusDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.statusDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.statusDataTable dataTable = new smartsmsrouterDataSet.statusDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.statusDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "status");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int p1, string p2, string p3) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string p1, string p2) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string p1, string p2, int p3, string p4, string p5) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(p3));
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class userloginTableAdapter : global::System.ComponentModel.Component {
private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
private global::MySql.Data.MySqlClient.MySqlConnection _connection;
private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public userloginTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::MySql.Data.MySqlClient.MySqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "userlogin";
tableMapping.ColumnMappings.Add("sn", "sn");
tableMapping.ColumnMappings.Add("username", "username");
tableMapping.ColumnMappings.Add("pass", "pass");
tableMapping.ColumnMappings.Add("ClientIP", "ClientIP");
tableMapping.ColumnMappings.Add("email", "email");
tableMapping.ColumnMappings.Add("FullName", "FullName");
tableMapping.ColumnMappings.Add("phonenumber", "phonenumber");
tableMapping.ColumnMappings.Add("country", "country");
tableMapping.ColumnMappings.Add("state", "state");
tableMapping.ColumnMappings.Add("address", "address");
tableMapping.ColumnMappings.Add("mlock", "mlock");
tableMapping.ColumnMappings.Add("gender", "gender");
tableMapping.ColumnMappings.Add("zipcode", "zipcode");
tableMapping.ColumnMappings.Add("referrer", "referrer");
tableMapping.ColumnMappings.Add("lastlogin", "lastlogin");
tableMapping.ColumnMappings.Add("birthday", "birthday");
tableMapping.ColumnMappings.Add("birthmonth", "birthmonth");
tableMapping.ColumnMappings.Add("activationcode", "activationcode");
tableMapping.ColumnMappings.Add("countrylaw", "countrylaw");
tableMapping.ColumnMappings.Add("pin", "pin");
tableMapping.ColumnMappings.Add("datecreated", "datecreated");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM `userlogin` WHERE ((`sn` = @p1) AND (`username` = @p2) AND (`pass` = @p3) AND (`ClientIP` = @p4) AND (`email` = @p5) AND (`FullName` = @p6) AND (`phonenumber` = @p7) AND (`country` = @p8) AND (`state` = @p9) AND (`address` = @p10) AND (`mlock` = @p11) AND (`gender` = @p12) AND (`zipcode` = @p13) AND (`referrer` = @p14) AND (`lastlogin` = @p15) AND (`birthday` = @p16) AND (`birthmonth` = @p17) AND (`activationcode` = @p18) AND (`countrylaw` = @p19) AND (`datecreated` = @p20))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
global::MySql.Data.MySqlClient.MySqlParameter param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "ClientIP";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "email";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "FullName";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "country";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "state";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "address";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "mlock";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "zipcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "referrer";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "lastlogin";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthday";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthmonth";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "activationcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "countrylaw";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datecreated";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.DeleteCommand.Parameters.Add(param);
this._adapter.InsertCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO `userlogin` (`username`, `pass`, `ClientIP`, `email`, `FullName`, `phonenumber`, `country`, `state`, `address`, `mlock`, `gender`, `zipcode`, `referrer`, `lastlogin`, `birthday`, `birthmonth`, `activationcode`, `countrylaw`, `pin`, `datecreated`) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "ClientIP";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "email";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "FullName";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "country";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "state";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "address";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "mlock";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gender";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "zipcode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "referrer";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "lastlogin";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthday";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthmonth";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "activationcode";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "countrylaw";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.Object;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Blob;
param.IsNullable = true;
param.SourceColumn = "pin";
this._adapter.InsertCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datecreated";
this._adapter.InsertCommand.Parameters.Add(param);
this._adapter.UpdateCommand = new global::MySql.Data.MySqlClient.MySqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE `userlogin` SET `username` = @p1, `pass` = @p2, `ClientIP` = @p3, `email` = @p4, `FullName` = @p5, `phonenumber` = @p6, `country` = @p7, `state` = @p8, `address` = @p9, `mlock` = @p10, `gender` = @p11, `zipcode` = @p12, `referrer` = @p13, `lastlogin` = @p14, `birthday` = @p15, `birthmonth` = @p16, `activationcode` = @p17, `countrylaw` = @p18, `pin` = @p19, `datecreated` = @p20 WHERE ((`sn` = @p21) AND (`username` = @p22) AND (`pass` = @p23) AND (`ClientIP` = @p24) AND (`email` = @p25) AND (`FullName` = @p26) AND (`phonenumber` = @p27) AND (`country` = @p28) AND (`state` = @p29) AND (`address` = @p30) AND (`mlock` = @p31) AND (`gender` = @p32) AND (`zipcode` = @p33) AND (`referrer` = @p34) AND (`lastlogin` = @p35) AND (`birthday` = @p36) AND (`birthmonth` = @p37) AND (`activationcode` = @p38) AND (`countrylaw` = @p39) AND (`datecreated` = @p40))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p1";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p2";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p3";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "ClientIP";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p4";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "email";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p5";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "FullName";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p6";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p7";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "country";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p8";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "state";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p9";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "address";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p10";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "mlock";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p11";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gender";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p12";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "zipcode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p13";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "referrer";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p14";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "lastlogin";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p15";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthday";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p16";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthmonth";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p17";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "activationcode";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p18";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "countrylaw";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p19";
param.DbType = global::System.Data.DbType.Object;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Blob;
param.IsNullable = true;
param.SourceColumn = "pin";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p20";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datecreated";
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p21";
param.DbType = global::System.Data.DbType.Int32;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
param.IsNullable = true;
param.SourceColumn = "sn";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p22";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "username";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p23";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "pass";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p24";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "ClientIP";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p25";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "email";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p26";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "FullName";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p27";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "phonenumber";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p28";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "country";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p29";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "state";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p30";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "address";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p31";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "mlock";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p32";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "gender";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p33";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "zipcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p34";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "referrer";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p35";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "lastlogin";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p36";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthday";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p37";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "birthmonth";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p38";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "activationcode";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p39";
param.DbType = global::System.Data.DbType.String;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
param.IsNullable = true;
param.SourceColumn = "countrylaw";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
param = new global::MySql.Data.MySqlClient.MySqlParameter();
param.ParameterName = "@p40";
param.DbType = global::System.Data.DbType.DateTime;
param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
param.IsNullable = true;
param.SourceColumn = "datecreated";
param.SourceVersion = global::System.Data.DataRowVersion.Original;
this._adapter.UpdateCommand.Parameters.Add(param);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::MySql.Data.MySqlClient.MySqlConnection();
this._connection.ConnectionString = global::schedule.Properties.Settings.Default.smartsmsrouterConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::MySql.Data.MySqlClient.MySqlCommand[1];
this._commandCollection[0] = new global::MySql.Data.MySqlClient.MySqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT `sn`, `username`, `pass`, `ClientIP`, `email`, `FullName`, `phonenumber`, `country`, `state`, `address`, `mlock`, `gender`, `zipcode`, `referrer`, `lastlogin`, `birthday`, `birthmonth`, `activationcode`, `countrylaw`, `pin`, `datecreated` FROM `userlogin`";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(smartsmsrouterDataSet.userloginDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual smartsmsrouterDataSet.userloginDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
smartsmsrouterDataSet.userloginDataTable dataTable = new smartsmsrouterDataSet.userloginDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet.userloginDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(smartsmsrouterDataSet dataSet) {
return this.Adapter.Update(dataSet, "userlogin");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(
int p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
string p14,
System.DateTime p15,
string p16,
string p17,
string p18,
string p19,
System.DateTime p20) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(p13));
}
if ((p14 == null)) {
throw new global::System.ArgumentNullException("p14");
}
else {
this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(p14));
}
this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(p15));
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(p19));
}
this.Adapter.DeleteCommand.Parameters[19].Value = ((System.DateTime)(p20));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
System.DateTime p14,
string p15,
string p16,
string p17,
string p18,
object p19,
System.DateTime p20) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(p13));
}
this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(p14));
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.InsertCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.InsertCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.InsertCommand.Parameters[18].Value = ((object)(p19));
}
this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(p20));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string p1,
string p2,
string p3,
string p4,
string p5,
string p6,
string p7,
string p8,
string p9,
string p10,
string p11,
string p12,
string p13,
System.DateTime p14,
string p15,
string p16,
string p17,
string p18,
object p19,
System.DateTime p20,
int p21,
string p22,
string p23,
string p24,
string p25,
string p26,
string p27,
string p28,
string p29,
string p30,
string p31,
string p32,
string p33,
string p34,
System.DateTime p35,
string p36,
string p37,
string p38,
string p39,
System.DateTime p40) {
if ((p1 == null)) {
throw new global::System.ArgumentNullException("p1");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
}
if ((p2 == null)) {
throw new global::System.ArgumentNullException("p2");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
}
if ((p3 == null)) {
throw new global::System.ArgumentNullException("p3");
}
else {
this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
}
if ((p4 == null)) {
throw new global::System.ArgumentNullException("p4");
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
}
if ((p5 == null)) {
throw new global::System.ArgumentNullException("p5");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
}
if ((p6 == null)) {
throw new global::System.ArgumentNullException("p6");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(p6));
}
if ((p7 == null)) {
throw new global::System.ArgumentNullException("p7");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(p7));
}
if ((p8 == null)) {
throw new global::System.ArgumentNullException("p8");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(p8));
}
if ((p9 == null)) {
throw new global::System.ArgumentNullException("p9");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
}
if ((p10 == null)) {
throw new global::System.ArgumentNullException("p10");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(p10));
}
if ((p11 == null)) {
throw new global::System.ArgumentNullException("p11");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
}
if ((p12 == null)) {
throw new global::System.ArgumentNullException("p12");
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(p12));
}
if ((p13 == null)) {
throw new global::System.ArgumentNullException("p13");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
}
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(p14));
if ((p15 == null)) {
throw new global::System.ArgumentNullException("p15");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
}
if ((p16 == null)) {
throw new global::System.ArgumentNullException("p16");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(p16));
}
if ((p17 == null)) {
throw new global::System.ArgumentNullException("p17");
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(p17));
}
if ((p18 == null)) {
throw new global::System.ArgumentNullException("p18");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(p18));
}
if ((p19 == null)) {
throw new global::System.ArgumentNullException("p19");
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(p19));
}
this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(p20));
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(p21));
if ((p22 == null)) {
throw new global::System.ArgumentNullException("p22");
}
else {
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(p22));
}
if ((p23 == null)) {
throw new global::System.ArgumentNullException("p23");
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(p23));
}
if ((p24 == null)) {
throw new global::System.ArgumentNullException("p24");
}
else {
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(p24));
}
if ((p25 == null)) {
throw new global::System.ArgumentNullException("p25");
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(p25));
}
if ((p26 == null)) {
throw new global::System.ArgumentNullException("p26");
}
else {
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(p26));
}
if ((p27 == null)) {
throw new global::System.ArgumentNullException("p27");
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(p27));
}
if ((p28 == null)) {
throw new global::System.ArgumentNullException("p28");
}
else {
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(p28));
}
if ((p29 == null)) {
throw new global::System.ArgumentNullException("p29");
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(p29));
}
if ((p30 == null)) {
throw new global::System.ArgumentNullException("p30");
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(p30));
}
if ((p31 == null)) {
throw new global::System.ArgumentNullException("p31");
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(p31));
}
if ((p32 == null)) {
throw new global::System.ArgumentNullException("p32");
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(p32));
}
if ((p33 == null)) {
throw new global::System.ArgumentNullException("p33");
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(p33));
}
if ((p34 == null)) {
throw new global::System.ArgumentNullException("p34");
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(p34));
}
this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(p35));
if ((p36 == null)) {
throw new global::System.ArgumentNullException("p36");
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(p36));
}
if ((p37 == null)) {
throw new global::System.ArgumentNullException("p37");
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(p37));
}
if ((p38 == null)) {
throw new global::System.ArgumentNullException("p38");
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(p38));
}
if ((p39 == null)) {
throw new global::System.ArgumentNullException("p39");
}
else {
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(p39));
}
this.Adapter.UpdateCommand.Parameters[39].Value = ((System.DateTime)(p40));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
public partial class TableAdapterManager : global::System.ComponentModel.Component {
private UpdateOrderOption _updateOrder;
private accounthistoryTableAdapter _accounthistoryTableAdapter;
private addressbookTableAdapter _addressbookTableAdapter;
private loginhistoryTableAdapter _loginhistoryTableAdapter;
private messagesentTableAdapter _messagesentTableAdapter;
private messagesentaddressbookTableAdapter _messagesentaddressbookTableAdapter;
private messagesentsingleTableAdapter _messagesentsingleTableAdapter;
private messagestateTableAdapter _messagestateTableAdapter;
private messagestatusTableAdapter _messagestatusTableAdapter;
private messagestatussmppTableAdapter _messagestatussmppTableAdapter;
private routingTableAdapter _routingTableAdapter;
private routingdetailsTableAdapter _routingdetailsTableAdapter;
private scheduleTableAdapter _scheduleTableAdapter;
private smsaccountTableAdapter _smsaccountTableAdapter;
private smsprofileTableAdapter _smsprofileTableAdapter;
private statusTableAdapter _statusTableAdapter;
private userloginTableAdapter _userloginTableAdapter;
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UpdateOrderOption UpdateOrder {
get {
return this._updateOrder;
}
set {
this._updateOrder = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public accounthistoryTableAdapter accounthistoryTableAdapter {
get {
return this._accounthistoryTableAdapter;
}
set {
this._accounthistoryTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public addressbookTableAdapter addressbookTableAdapter {
get {
return this._addressbookTableAdapter;
}
set {
this._addressbookTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public loginhistoryTableAdapter loginhistoryTableAdapter {
get {
return this._loginhistoryTableAdapter;
}
set {
this._loginhistoryTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagesentTableAdapter messagesentTableAdapter {
get {
return this._messagesentTableAdapter;
}
set {
this._messagesentTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagesentaddressbookTableAdapter messagesentaddressbookTableAdapter {
get {
return this._messagesentaddressbookTableAdapter;
}
set {
this._messagesentaddressbookTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagesentsingleTableAdapter messagesentsingleTableAdapter {
get {
return this._messagesentsingleTableAdapter;
}
set {
this._messagesentsingleTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagestateTableAdapter messagestateTableAdapter {
get {
return this._messagestateTableAdapter;
}
set {
this._messagestateTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagestatusTableAdapter messagestatusTableAdapter {
get {
return this._messagestatusTableAdapter;
}
set {
this._messagestatusTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public messagestatussmppTableAdapter messagestatussmppTableAdapter {
get {
return this._messagestatussmppTableAdapter;
}
set {
this._messagestatussmppTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public routingTableAdapter routingTableAdapter {
get {
return this._routingTableAdapter;
}
set {
this._routingTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public routingdetailsTableAdapter routingdetailsTableAdapter {
get {
return this._routingdetailsTableAdapter;
}
set {
this._routingdetailsTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public scheduleTableAdapter scheduleTableAdapter {
get {
return this._scheduleTableAdapter;
}
set {
this._scheduleTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public smsaccountTableAdapter smsaccountTableAdapter {
get {
return this._smsaccountTableAdapter;
}
set {
this._smsaccountTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public smsprofileTableAdapter smsprofileTableAdapter {
get {
return this._smsprofileTableAdapter;
}
set {
this._smsprofileTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public statusTableAdapter statusTableAdapter {
get {
return this._statusTableAdapter;
}
set {
this._statusTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public userloginTableAdapter userloginTableAdapter {
get {
return this._userloginTableAdapter;
}
set {
this._userloginTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
get {
return this._backupDataSetBeforeUpdate;
}
set {
this._backupDataSetBeforeUpdate = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public global::System.Data.IDbConnection Connection {
get {
if ((this._connection != null)) {
return this._connection;
}
if (((this._accounthistoryTableAdapter != null)
&& (this._accounthistoryTableAdapter.Connection != null))) {
return this._accounthistoryTableAdapter.Connection;
}
if (((this._addressbookTableAdapter != null)
&& (this._addressbookTableAdapter.Connection != null))) {
return this._addressbookTableAdapter.Connection;
}
if (((this._loginhistoryTableAdapter != null)
&& (this._loginhistoryTableAdapter.Connection != null))) {
return this._loginhistoryTableAdapter.Connection;
}
if (((this._messagesentTableAdapter != null)
&& (this._messagesentTableAdapter.Connection != null))) {
return this._messagesentTableAdapter.Connection;
}
if (((this._messagesentaddressbookTableAdapter != null)
&& (this._messagesentaddressbookTableAdapter.Connection != null))) {
return this._messagesentaddressbookTableAdapter.Connection;
}
if (((this._messagesentsingleTableAdapter != null)
&& (this._messagesentsingleTableAdapter.Connection != null))) {
return this._messagesentsingleTableAdapter.Connection;
}
if (((this._messagestateTableAdapter != null)
&& (this._messagestateTableAdapter.Connection != null))) {
return this._messagestateTableAdapter.Connection;
}
if (((this._messagestatusTableAdapter != null)
&& (this._messagestatusTableAdapter.Connection != null))) {
return this._messagestatusTableAdapter.Connection;
}
if (((this._messagestatussmppTableAdapter != null)
&& (this._messagestatussmppTableAdapter.Connection != null))) {
return this._messagestatussmppTableAdapter.Connection;
}
if (((this._routingTableAdapter != null)
&& (this._routingTableAdapter.Connection != null))) {
return this._routingTableAdapter.Connection;
}
if (((this._routingdetailsTableAdapter != null)
&& (this._routingdetailsTableAdapter.Connection != null))) {
return this._routingdetailsTableAdapter.Connection;
}
if (((this._scheduleTableAdapter != null)
&& (this._scheduleTableAdapter.Connection != null))) {
return this._scheduleTableAdapter.Connection;
}
if (((this._smsaccountTableAdapter != null)
&& (this._smsaccountTableAdapter.Connection != null))) {
return this._smsaccountTableAdapter.Connection;
}
if (((this._smsprofileTableAdapter != null)
&& (this._smsprofileTableAdapter.Connection != null))) {
return this._smsprofileTableAdapter.Connection;
}
if (((this._statusTableAdapter != null)
&& (this._statusTableAdapter.Connection != null))) {
return this._statusTableAdapter.Connection;
}
if (((this._userloginTableAdapter != null)
&& (this._userloginTableAdapter.Connection != null))) {
return this._userloginTableAdapter.Connection;
}
return null;
}
set {
this._connection = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int TableAdapterInstanceCount {
get {
int count = 0;
if ((this._accounthistoryTableAdapter != null)) {
count = (count + 1);
}
if ((this._addressbookTableAdapter != null)) {
count = (count + 1);
}
if ((this._loginhistoryTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagesentTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagesentaddressbookTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagesentsingleTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagestateTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagestatusTableAdapter != null)) {
count = (count + 1);
}
if ((this._messagestatussmppTableAdapter != null)) {
count = (count + 1);
}
if ((this._routingTableAdapter != null)) {
count = (count + 1);
}
if ((this._routingdetailsTableAdapter != null)) {
count = (count + 1);
}
if ((this._scheduleTableAdapter != null)) {
count = (count + 1);
}
if ((this._smsaccountTableAdapter != null)) {
count = (count + 1);
}
if ((this._smsprofileTableAdapter != null)) {
count = (count + 1);
}
if ((this._statusTableAdapter != null)) {
count = (count + 1);
}
if ((this._userloginTableAdapter != null)) {
count = (count + 1);
}
return count;
}
}
/// <summary>
///Update rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateUpdatedRows(smartsmsrouterDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
if ((this._accounthistoryTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.accounthistory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._accounthistoryTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._addressbookTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.addressbook.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._addressbookTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._loginhistoryTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.loginhistory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._loginhistoryTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagesentTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagesent.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagesentTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagesentaddressbookTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagesentaddressbook.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagesentaddressbookTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagesentsingleTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagesentsingle.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagesentsingleTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagestateTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagestate.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagestateTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagestatusTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagestatus.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagestatusTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._messagestatussmppTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.messagestatussmpp.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._messagestatussmppTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._routingTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.routing.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._routingTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._routingdetailsTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.routingdetails.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._routingdetailsTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._scheduleTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.schedule.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._scheduleTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._smsaccountTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.smsaccount.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._smsaccountTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._smsprofileTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.smsprofile.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._smsprofileTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._statusTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.status.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._statusTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
if ((this._userloginTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.userlogin.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._userloginTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
return result;
}
/// <summary>
///Insert rows in top-down order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateInsertedRows(smartsmsrouterDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
int result = 0;
if ((this._accounthistoryTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.accounthistory.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._accounthistoryTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._addressbookTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.addressbook.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._addressbookTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._loginhistoryTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.loginhistory.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._loginhistoryTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagesentTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagesent.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagesentTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagesentaddressbookTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagesentaddressbook.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagesentaddressbookTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagesentsingleTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagesentsingle.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagesentsingleTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagestateTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagestate.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagestateTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagestatusTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagestatus.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagestatusTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._messagestatussmppTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.messagestatussmpp.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._messagestatussmppTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._routingTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.routing.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._routingTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._routingdetailsTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.routingdetails.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._routingdetailsTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._scheduleTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.schedule.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._scheduleTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._smsaccountTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.smsaccount.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._smsaccountTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._smsprofileTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.smsprofile.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._smsprofileTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._statusTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.status.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._statusTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
if ((this._userloginTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.userlogin.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._userloginTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
return result;
}
/// <summary>
///Delete rows in bottom-up order.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(smartsmsrouterDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
int result = 0;
if ((this._userloginTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.userlogin.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._userloginTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._statusTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.status.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._statusTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._smsprofileTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.smsprofile.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._smsprofileTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._smsaccountTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.smsaccount.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._smsaccountTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._scheduleTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.schedule.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._scheduleTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._routingdetailsTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.routingdetails.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._routingdetailsTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._routingTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.routing.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._routingTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagestatussmppTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagestatussmpp.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagestatussmppTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagestatusTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagestatus.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagestatusTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagestateTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagestate.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagestateTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagesentsingleTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagesentsingle.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagesentsingleTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagesentaddressbookTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagesentaddressbook.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagesentaddressbookTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._messagesentTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.messagesent.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._messagesentTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._loginhistoryTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.loginhistory.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._loginhistoryTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._addressbookTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.addressbook.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._addressbookTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
if ((this._accounthistoryTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.accounthistory.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._accounthistoryTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
return result;
}
/// <summary>
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
if (((updatedRows == null)
|| (updatedRows.Length < 1))) {
return updatedRows;
}
if (((allAddedRows == null)
|| (allAddedRows.Count < 1))) {
return updatedRows;
}
global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
global::System.Data.DataRow row = updatedRows[i];
if ((allAddedRows.Contains(row) == false)) {
realUpdatedRows.Add(row);
}
}
return realUpdatedRows.ToArray();
}
/// <summary>
///Update all changes to the dataset.
///</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public virtual int UpdateAll(smartsmsrouterDataSet dataSet) {
if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
if ((dataSet.HasChanges() == false)) {
return 0;
}
if (((this._accounthistoryTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._accounthistoryTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._addressbookTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._addressbookTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._loginhistoryTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._loginhistoryTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagesentTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagesentTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagesentaddressbookTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagesentaddressbookTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagesentsingleTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagesentsingleTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagestateTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagestateTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagestatusTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagestatusTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._messagestatussmppTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._messagestatussmppTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._routingTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._routingTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._routingdetailsTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._routingdetailsTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._scheduleTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._scheduleTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._smsaccountTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._smsaccountTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._smsprofileTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._smsprofileTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._statusTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._statusTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
if (((this._userloginTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._userloginTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
"ger TableAdapter property to a valid TableAdapter instance.");
}
bool workConnOpened = false;
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
== global::System.Data.ConnectionState.Broken)) {
workConnection.Close();
}
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
workConnection.Open();
workConnOpened = true;
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
if ((workTransaction == null)) {
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
"ctions or the current state is not allowing the transaction to begin.");
}
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
int result = 0;
global::System.Data.DataSet backupDataSet = null;
if (this.BackupDataSetBeforeUpdate) {
backupDataSet = new global::System.Data.DataSet();
backupDataSet.Merge(dataSet);
}
try {
// ---- Prepare for update -----------
//
if ((this._accounthistoryTableAdapter != null)) {
revertConnections.Add(this._accounthistoryTableAdapter, this._accounthistoryTableAdapter.Connection);
this._accounthistoryTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._accounthistoryTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._accounthistoryTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._accounthistoryTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._accounthistoryTableAdapter.Adapter);
}
}
if ((this._addressbookTableAdapter != null)) {
revertConnections.Add(this._addressbookTableAdapter, this._addressbookTableAdapter.Connection);
this._addressbookTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._addressbookTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._addressbookTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._addressbookTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._addressbookTableAdapter.Adapter);
}
}
if ((this._loginhistoryTableAdapter != null)) {
revertConnections.Add(this._loginhistoryTableAdapter, this._loginhistoryTableAdapter.Connection);
this._loginhistoryTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._loginhistoryTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._loginhistoryTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._loginhistoryTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._loginhistoryTableAdapter.Adapter);
}
}
if ((this._messagesentTableAdapter != null)) {
revertConnections.Add(this._messagesentTableAdapter, this._messagesentTableAdapter.Connection);
this._messagesentTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagesentTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagesentTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagesentTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagesentTableAdapter.Adapter);
}
}
if ((this._messagesentaddressbookTableAdapter != null)) {
revertConnections.Add(this._messagesentaddressbookTableAdapter, this._messagesentaddressbookTableAdapter.Connection);
this._messagesentaddressbookTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagesentaddressbookTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagesentaddressbookTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagesentaddressbookTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagesentaddressbookTableAdapter.Adapter);
}
}
if ((this._messagesentsingleTableAdapter != null)) {
revertConnections.Add(this._messagesentsingleTableAdapter, this._messagesentsingleTableAdapter.Connection);
this._messagesentsingleTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagesentsingleTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagesentsingleTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagesentsingleTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagesentsingleTableAdapter.Adapter);
}
}
if ((this._messagestateTableAdapter != null)) {
revertConnections.Add(this._messagestateTableAdapter, this._messagestateTableAdapter.Connection);
this._messagestateTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagestateTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagestateTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagestateTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagestateTableAdapter.Adapter);
}
}
if ((this._messagestatusTableAdapter != null)) {
revertConnections.Add(this._messagestatusTableAdapter, this._messagestatusTableAdapter.Connection);
this._messagestatusTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagestatusTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagestatusTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagestatusTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagestatusTableAdapter.Adapter);
}
}
if ((this._messagestatussmppTableAdapter != null)) {
revertConnections.Add(this._messagestatussmppTableAdapter, this._messagestatussmppTableAdapter.Connection);
this._messagestatussmppTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._messagestatussmppTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._messagestatussmppTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._messagestatussmppTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._messagestatussmppTableAdapter.Adapter);
}
}
if ((this._routingTableAdapter != null)) {
revertConnections.Add(this._routingTableAdapter, this._routingTableAdapter.Connection);
this._routingTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._routingTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._routingTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._routingTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._routingTableAdapter.Adapter);
}
}
if ((this._routingdetailsTableAdapter != null)) {
revertConnections.Add(this._routingdetailsTableAdapter, this._routingdetailsTableAdapter.Connection);
this._routingdetailsTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._routingdetailsTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._routingdetailsTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._routingdetailsTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._routingdetailsTableAdapter.Adapter);
}
}
if ((this._scheduleTableAdapter != null)) {
revertConnections.Add(this._scheduleTableAdapter, this._scheduleTableAdapter.Connection);
this._scheduleTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._scheduleTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._scheduleTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._scheduleTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._scheduleTableAdapter.Adapter);
}
}
if ((this._smsaccountTableAdapter != null)) {
revertConnections.Add(this._smsaccountTableAdapter, this._smsaccountTableAdapter.Connection);
this._smsaccountTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._smsaccountTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._smsaccountTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._smsaccountTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._smsaccountTableAdapter.Adapter);
}
}
if ((this._smsprofileTableAdapter != null)) {
revertConnections.Add(this._smsprofileTableAdapter, this._smsprofileTableAdapter.Connection);
this._smsprofileTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._smsprofileTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._smsprofileTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._smsprofileTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._smsprofileTableAdapter.Adapter);
}
}
if ((this._statusTableAdapter != null)) {
revertConnections.Add(this._statusTableAdapter, this._statusTableAdapter.Connection);
this._statusTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._statusTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._statusTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._statusTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._statusTableAdapter.Adapter);
}
}
if ((this._userloginTableAdapter != null)) {
revertConnections.Add(this._userloginTableAdapter, this._userloginTableAdapter.Connection);
this._userloginTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
this._userloginTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
if (this._userloginTableAdapter.Adapter.AcceptChangesDuringUpdate) {
this._userloginTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
adaptersWithAcceptChangesDuringUpdate.Add(this._userloginTableAdapter.Adapter);
}
}
//
//---- Perform updates -----------
//
if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
}
else {
result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
}
result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
//
//---- Commit updates -----------
//
workTransaction.Commit();
if ((0 < allAddedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
allAddedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
}
}
if ((0 < allChangedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
allChangedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
}
}
}
catch (global::System.Exception ex) {
workTransaction.Rollback();
// ---- Restore the dataset -----------
if (this.BackupDataSetBeforeUpdate) {
global::System.Diagnostics.Debug.Assert((backupDataSet != null));
dataSet.Clear();
dataSet.Merge(backupDataSet);
}
else {
if ((0 < allAddedRows.Count)) {
global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
allAddedRows.CopyTo(rows);
for (int i = 0; (i < rows.Length); i = (i + 1)) {
global::System.Data.DataRow row = rows[i];
row.AcceptChanges();
row.SetAdded();
}
}
}
throw ex;
}
finally {
if (workConnOpened) {
workConnection.Close();
}
if ((this._accounthistoryTableAdapter != null)) {
this._accounthistoryTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._accounthistoryTableAdapter]));
this._accounthistoryTableAdapter.Transaction = null;
}
if ((this._addressbookTableAdapter != null)) {
this._addressbookTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._addressbookTableAdapter]));
this._addressbookTableAdapter.Transaction = null;
}
if ((this._loginhistoryTableAdapter != null)) {
this._loginhistoryTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._loginhistoryTableAdapter]));
this._loginhistoryTableAdapter.Transaction = null;
}
if ((this._messagesentTableAdapter != null)) {
this._messagesentTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagesentTableAdapter]));
this._messagesentTableAdapter.Transaction = null;
}
if ((this._messagesentaddressbookTableAdapter != null)) {
this._messagesentaddressbookTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagesentaddressbookTableAdapter]));
this._messagesentaddressbookTableAdapter.Transaction = null;
}
if ((this._messagesentsingleTableAdapter != null)) {
this._messagesentsingleTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagesentsingleTableAdapter]));
this._messagesentsingleTableAdapter.Transaction = null;
}
if ((this._messagestateTableAdapter != null)) {
this._messagestateTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagestateTableAdapter]));
this._messagestateTableAdapter.Transaction = null;
}
if ((this._messagestatusTableAdapter != null)) {
this._messagestatusTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagestatusTableAdapter]));
this._messagestatusTableAdapter.Transaction = null;
}
if ((this._messagestatussmppTableAdapter != null)) {
this._messagestatussmppTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._messagestatussmppTableAdapter]));
this._messagestatussmppTableAdapter.Transaction = null;
}
if ((this._routingTableAdapter != null)) {
this._routingTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._routingTableAdapter]));
this._routingTableAdapter.Transaction = null;
}
if ((this._routingdetailsTableAdapter != null)) {
this._routingdetailsTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._routingdetailsTableAdapter]));
this._routingdetailsTableAdapter.Transaction = null;
}
if ((this._scheduleTableAdapter != null)) {
this._scheduleTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._scheduleTableAdapter]));
this._scheduleTableAdapter.Transaction = null;
}
if ((this._smsaccountTableAdapter != null)) {
this._smsaccountTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._smsaccountTableAdapter]));
this._smsaccountTableAdapter.Transaction = null;
}
if ((this._smsprofileTableAdapter != null)) {
this._smsprofileTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._smsprofileTableAdapter]));
this._smsprofileTableAdapter.Transaction = null;
}
if ((this._statusTableAdapter != null)) {
this._statusTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._statusTableAdapter]));
this._statusTableAdapter.Transaction = null;
}
if ((this._userloginTableAdapter != null)) {
this._userloginTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._userloginTableAdapter]));
this._userloginTableAdapter.Transaction = null;
}
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
for (int i = 0; (i < adapters.Length); i = (i + 1)) {
global::System.Data.Common.DataAdapter adapter = adapters[i];
adapter.AcceptChangesDuringUpdate = true;
}
}
}
return result;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
if ((this._connection != null)) {
return true;
}
if (((this.Connection == null)
|| (inputConnection == null))) {
return true;
}
if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
return true;
}
return false;
}
/// <summary>
///Update Order Option
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public enum UpdateOrderOption {
InsertUpdateDelete = 0,
UpdateInsertDelete = 1,
}
/// <summary>
///Used to sort self-referenced table's rows
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
private global::System.Data.DataRelation _relation;
private int _childFirst;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
this._relation = relation;
if (childFirst) {
this._childFirst = -1;
}
else {
this._childFirst = 1;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
global::System.Diagnostics.Debug.Assert((row != null));
global::System.Data.DataRow root = row;
distance = 0;
global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
traversedRows[row] = row;
global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
for (
; ((parent != null)
&& (traversedRows.ContainsKey(parent) == false));
) {
distance = (distance + 1);
root = parent;
traversedRows[parent] = parent;
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
}
if ((distance == 0)) {
traversedRows.Clear();
traversedRows[row] = row;
parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
for (
; ((parent != null)
&& (traversedRows.ContainsKey(parent) == false));
) {
distance = (distance + 1);
root = parent;
traversedRows[parent] = parent;
parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
}
}
return root;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
if (object.ReferenceEquals(row1, row2)) {
return 0;
}
if ((row1 == null)) {
return -1;
}
if ((row2 == null)) {
return 1;
}
int distance1 = 0;
global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
int distance2 = 0;
global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
if (object.ReferenceEquals(root1, root2)) {
return (this._childFirst * distance1.CompareTo(distance2));
}
else {
global::System.Diagnostics.Debug.Assert(((root1.Table != null)
&& (root2.Table != null)));
if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
return -1;
}
else {
return 1;
}
}
}
}
}
}
#pragma warning restore 1591