Commit 4b327bc9 authored by YONG-LIN SU's avatar YONG-LIN SU

log out print complex

parent b0ce97a0
using System;
using MySql.Data.MySqlClient; //連線MySql的方法
using System.Windows.Forms; //錯誤視窗的方法
namespace ETC_App1
{
class Authentication
{
internal static bool Authentication_1(string ID_in, string password_in) //使用者輸入的帳號密碼
{
MySqlConnection conn = new MySqlConnection("server=192.168.5.17;user=root;database=eye_test;port=3306;password=root;");//連線位置;使用者;資料庫;阜號;密碼;
conn.Open(); //連線資料庫
string sql_ID = String.Format("SELECT password FROM account WHERE username = \"{0}\"", ID_in);//輸入ID得到對應密碼
MySqlCommand cmd_ID = new MySqlCommand(sql_ID, conn); //下達SQL語法和資料庫連線
String password = (String)cmd_ID.ExecuteScalar(); //取得結果回傳到password
if (password_in == password) //拿得到的密碼去比對他輸入的密碼確認是否一致
{
return true;
}
else //錯誤就提示帳密錯誤
{
MessageBox.Show("帳號或密碼錯誤"); //錯誤提示框
return false;
}
}
}
}
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
// splitContainer1.Panel2 // splitContainer1.Panel2
// //
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3); this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(800, 578); this.splitContainer1.Size = new System.Drawing.Size(800, 574);
this.splitContainer1.SplitterDistance = 597; this.splitContainer1.SplitterDistance = 597;
this.splitContainer1.TabIndex = 0; this.splitContainer1.TabIndex = 0;
// //
...@@ -104,8 +104,8 @@ ...@@ -104,8 +104,8 @@
// splitContainer2.Panel2 // splitContainer2.Panel2
// //
this.splitContainer2.Panel2.Controls.Add(this.groupBox3); this.splitContainer2.Panel2.Controls.Add(this.groupBox3);
this.splitContainer2.Size = new System.Drawing.Size(597, 578); this.splitContainer2.Size = new System.Drawing.Size(597, 574);
this.splitContainer2.SplitterDistance = 430; this.splitContainer2.SplitterDistance = 427;
this.splitContainer2.TabIndex = 1; this.splitContainer2.TabIndex = 1;
// //
// groupBox1 // groupBox1
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
this.groupBox1.Margin = new System.Windows.Forms.Padding(0); this.groupBox1.Margin = new System.Windows.Forms.Padding(0);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8); this.groupBox1.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8);
this.groupBox1.Size = new System.Drawing.Size(593, 430); this.groupBox1.Size = new System.Drawing.Size(593, 427);
this.groupBox1.TabIndex = 0; this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "瀏覽影像"; this.groupBox1.Text = "瀏覽影像";
...@@ -127,10 +127,10 @@ ...@@ -127,10 +127,10 @@
this.etcPictureBox1.BackColor = System.Drawing.Color.Transparent; this.etcPictureBox1.BackColor = System.Drawing.Color.Transparent;
this.etcPictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.etcPictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.etcPictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.etcPictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.etcPictureBox1.Location = new System.Drawing.Point(8, 20); this.etcPictureBox1.Location = new System.Drawing.Point(8, 24);
this.etcPictureBox1.Margin = new System.Windows.Forms.Padding(0); this.etcPictureBox1.Margin = new System.Windows.Forms.Padding(0);
this.etcPictureBox1.Name = "etcPictureBox1"; this.etcPictureBox1.Name = "etcPictureBox1";
this.etcPictureBox1.Size = new System.Drawing.Size(577, 402); this.etcPictureBox1.Size = new System.Drawing.Size(577, 395);
this.etcPictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.etcPictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.etcPictureBox1.TabIndex = 0; this.etcPictureBox1.TabIndex = 0;
this.etcPictureBox1.TabStop = false; this.etcPictureBox1.TabStop = false;
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
this.groupBox3.Margin = new System.Windows.Forms.Padding(0); this.groupBox3.Margin = new System.Windows.Forms.Padding(0);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8); this.groupBox3.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8);
this.groupBox3.Size = new System.Drawing.Size(597, 144); this.groupBox3.Size = new System.Drawing.Size(597, 143);
this.groupBox3.TabIndex = 2; this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "處理紀錄"; this.groupBox3.Text = "處理紀錄";
...@@ -158,11 +158,11 @@ ...@@ -158,11 +158,11 @@
this.listBox2.ForeColor = System.Drawing.SystemColors.ControlText; this.listBox2.ForeColor = System.Drawing.SystemColors.ControlText;
this.listBox2.FormattingEnabled = true; this.listBox2.FormattingEnabled = true;
this.listBox2.IntegralHeight = false; this.listBox2.IntegralHeight = false;
this.listBox2.ItemHeight = 32; this.listBox2.ItemHeight = 40;
this.listBox2.Location = new System.Drawing.Point(8, 20); this.listBox2.Location = new System.Drawing.Point(8, 24);
this.listBox2.Margin = new System.Windows.Forms.Padding(0); this.listBox2.Margin = new System.Windows.Forms.Padding(0);
this.listBox2.Name = "listBox2"; this.listBox2.Name = "listBox2";
this.listBox2.Size = new System.Drawing.Size(581, 116); this.listBox2.Size = new System.Drawing.Size(581, 111);
this.listBox2.TabIndex = 0; this.listBox2.TabIndex = 0;
this.listBox2.SelectedIndexChanged += new System.EventHandler(this.ListBox2_SelectedIndexChanged); this.listBox2.SelectedIndexChanged += new System.EventHandler(this.ListBox2_SelectedIndexChanged);
// //
...@@ -182,8 +182,8 @@ ...@@ -182,8 +182,8 @@
// splitContainer3.Panel2 // splitContainer3.Panel2
// //
this.splitContainer3.Panel2.Controls.Add(this.groupBox4); this.splitContainer3.Panel2.Controls.Add(this.groupBox4);
this.splitContainer3.Size = new System.Drawing.Size(199, 578); this.splitContainer3.Size = new System.Drawing.Size(199, 574);
this.splitContainer3.SplitterDistance = 430; this.splitContainer3.SplitterDistance = 427;
this.splitContainer3.TabIndex = 2; this.splitContainer3.TabIndex = 2;
// //
// groupBox2 // groupBox2
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
this.groupBox2.Margin = new System.Windows.Forms.Padding(0); this.groupBox2.Margin = new System.Windows.Forms.Padding(0);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8); this.groupBox2.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8);
this.groupBox2.Size = new System.Drawing.Size(199, 430); this.groupBox2.Size = new System.Drawing.Size(199, 427);
this.groupBox2.TabIndex = 1; this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false; this.groupBox2.TabStop = false;
this.groupBox2.Text = "影像清單"; this.groupBox2.Text = "影像清單";
...@@ -213,10 +213,10 @@ ...@@ -213,10 +213,10 @@
this.listBox1.FormattingEnabled = true; this.listBox1.FormattingEnabled = true;
this.listBox1.IntegralHeight = false; this.listBox1.IntegralHeight = false;
this.listBox1.ItemHeight = 48; this.listBox1.ItemHeight = 48;
this.listBox1.Location = new System.Drawing.Point(8, 20); this.listBox1.Location = new System.Drawing.Point(8, 24);
this.listBox1.Margin = new System.Windows.Forms.Padding(0); this.listBox1.Margin = new System.Windows.Forms.Padding(0);
this.listBox1.Name = "listBox1"; this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(183, 334); this.listBox1.Size = new System.Drawing.Size(183, 315);
this.listBox1.TabIndex = 0; this.listBox1.TabIndex = 0;
this.listBox1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListBox1_DrawItem); this.listBox1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListBox1_DrawItem);
this.listBox1.SelectedIndexChanged += new System.EventHandler(this.ListBox1_SelectedIndexChanged); this.listBox1.SelectedIndexChanged += new System.EventHandler(this.ListBox1_SelectedIndexChanged);
...@@ -226,26 +226,28 @@ ...@@ -226,26 +226,28 @@
this.button1.AutoSize = true; this.button1.AutoSize = true;
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom; this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button1.Font = new System.Drawing.Font("標楷體", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.button1.Font = new System.Drawing.Font("標楷體", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.button1.Location = new System.Drawing.Point(8, 354); this.button1.Location = new System.Drawing.Point(8, 339);
this.button1.Margin = new System.Windows.Forms.Padding(0); this.button1.Margin = new System.Windows.Forms.Padding(0);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(183, 34); this.button1.Size = new System.Drawing.Size(183, 40);
this.button1.TabIndex = 1; this.button1.TabIndex = 1;
this.button1.Text = "車牌"; this.button1.Text = "車牌";
this.button1.UseVisualStyleBackColor = true; this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1_Click);
// //
// button2 // button2
// //
this.button2.AutoSize = true; this.button2.AutoSize = true;
this.button2.Dock = System.Windows.Forms.DockStyle.Bottom; this.button2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button2.Font = new System.Drawing.Font("標楷體", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.button2.Font = new System.Drawing.Font("標楷體", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
this.button2.Location = new System.Drawing.Point(8, 388); this.button2.Location = new System.Drawing.Point(8, 379);
this.button2.Margin = new System.Windows.Forms.Padding(0); this.button2.Margin = new System.Windows.Forms.Padding(0);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(183, 34); this.button2.Size = new System.Drawing.Size(183, 40);
this.button2.TabIndex = 2; this.button2.TabIndex = 2;
this.button2.Text = "下一筆"; this.button2.Text = "下一筆";
this.button2.UseVisualStyleBackColor = true; this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2_Click);
// //
// groupBox4 // groupBox4
// //
...@@ -256,7 +258,7 @@ ...@@ -256,7 +258,7 @@
this.groupBox4.Margin = new System.Windows.Forms.Padding(0); this.groupBox4.Margin = new System.Windows.Forms.Padding(0);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8); this.groupBox4.Padding = new System.Windows.Forms.Padding(8, 0, 8, 8);
this.groupBox4.Size = new System.Drawing.Size(199, 144); this.groupBox4.Size = new System.Drawing.Size(199, 143);
this.groupBox4.TabIndex = 1; this.groupBox4.TabIndex = 1;
this.groupBox4.TabStop = false; this.groupBox4.TabStop = false;
this.groupBox4.Text = "影像特照"; this.groupBox4.Text = "影像特照";
...@@ -266,10 +268,10 @@ ...@@ -266,10 +268,10 @@
this.etcPictureBox2.BackColor = System.Drawing.Color.Transparent; this.etcPictureBox2.BackColor = System.Drawing.Color.Transparent;
this.etcPictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.etcPictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.etcPictureBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.etcPictureBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.etcPictureBox2.Location = new System.Drawing.Point(8, 20); this.etcPictureBox2.Location = new System.Drawing.Point(8, 24);
this.etcPictureBox2.Margin = new System.Windows.Forms.Padding(0); this.etcPictureBox2.Margin = new System.Windows.Forms.Padding(0);
this.etcPictureBox2.Name = "etcPictureBox2"; this.etcPictureBox2.Name = "etcPictureBox2";
this.etcPictureBox2.Size = new System.Drawing.Size(183, 116); this.etcPictureBox2.Size = new System.Drawing.Size(183, 111);
this.etcPictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.etcPictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.etcPictureBox2.TabIndex = 0; this.etcPictureBox2.TabIndex = 0;
this.etcPictureBox2.TabStop = false; this.etcPictureBox2.TabStop = false;
...@@ -280,15 +282,16 @@ ...@@ -280,15 +282,16 @@
this.etcStatusStrip1.BackColor = System.Drawing.Color.Transparent; this.etcStatusStrip1.BackColor = System.Drawing.Color.Transparent;
this.etcStatusStrip1.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.etcStatusStrip1.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.etcStatusStrip1.GripMargin = new System.Windows.Forms.Padding(0); this.etcStatusStrip1.GripMargin = new System.Windows.Forms.Padding(0);
this.etcStatusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.etcStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.etcStatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripProgressBar1, this.toolStripProgressBar1,
this.toolStripStatusLabel1, this.toolStripStatusLabel1,
this.toolStripStatusLabel2, this.toolStripStatusLabel2,
this.toolStripStatusLabel3, this.toolStripStatusLabel3,
this.toolStripStatusLabel4}); this.toolStripStatusLabel4});
this.etcStatusStrip1.Location = new System.Drawing.Point(0, 578); this.etcStatusStrip1.Location = new System.Drawing.Point(0, 574);
this.etcStatusStrip1.Name = "etcStatusStrip1"; this.etcStatusStrip1.Name = "etcStatusStrip1";
this.etcStatusStrip1.Size = new System.Drawing.Size(800, 22); this.etcStatusStrip1.Size = new System.Drawing.Size(800, 26);
this.etcStatusStrip1.TabIndex = 2; this.etcStatusStrip1.TabIndex = 2;
this.etcStatusStrip1.Text = "etcStatusStrip1"; this.etcStatusStrip1.Text = "etcStatusStrip1";
this.etcStatusStrip1.Resize += new System.EventHandler(this.EtcStatusStrip1_Resize); this.etcStatusStrip1.Resize += new System.EventHandler(this.EtcStatusStrip1_Resize);
...@@ -297,14 +300,14 @@ ...@@ -297,14 +300,14 @@
// //
this.toolStripProgressBar1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.toolStripProgressBar1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.toolStripProgressBar1.Name = "toolStripProgressBar1"; this.toolStripProgressBar1.Name = "toolStripProgressBar1";
this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 16); this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 20);
// //
// toolStripStatusLabel1 // toolStripStatusLabel1
// //
this.toolStripStatusLabel1.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripStatusLabel1.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripStatusLabel1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.toolStripStatusLabel1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
this.toolStripStatusLabel1.Size = new System.Drawing.Size(176, 16); this.toolStripStatusLabel1.Size = new System.Drawing.Size(219, 20);
this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
...@@ -313,7 +316,7 @@ ...@@ -313,7 +316,7 @@
this.toolStripStatusLabel2.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripStatusLabel2.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripStatusLabel2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.toolStripStatusLabel2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
this.toolStripStatusLabel2.Size = new System.Drawing.Size(176, 16); this.toolStripStatusLabel2.Size = new System.Drawing.Size(219, 20);
this.toolStripStatusLabel2.Text = "toolStripStatusLabel2"; this.toolStripStatusLabel2.Text = "toolStripStatusLabel2";
this.toolStripStatusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.toolStripStatusLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
...@@ -322,7 +325,7 @@ ...@@ -322,7 +325,7 @@
this.toolStripStatusLabel3.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripStatusLabel3.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripStatusLabel3.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.toolStripStatusLabel3.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3"; this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
this.toolStripStatusLabel3.Size = new System.Drawing.Size(176, 16); this.toolStripStatusLabel3.Size = new System.Drawing.Size(219, 20);
this.toolStripStatusLabel3.Text = "toolStripStatusLabel3"; this.toolStripStatusLabel3.Text = "toolStripStatusLabel3";
this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.toolStripStatusLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
...@@ -331,13 +334,13 @@ ...@@ -331,13 +334,13 @@
this.toolStripStatusLabel4.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripStatusLabel4.Font = new System.Drawing.Font("標楷體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.toolStripStatusLabel4.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); this.toolStripStatusLabel4.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.toolStripStatusLabel4.Name = "toolStripStatusLabel4"; this.toolStripStatusLabel4.Name = "toolStripStatusLabel4";
this.toolStripStatusLabel4.Size = new System.Drawing.Size(176, 16); this.toolStripStatusLabel4.Size = new System.Drawing.Size(219, 20);
this.toolStripStatusLabel4.Text = "toolStripStatusLabel4"; this.toolStripStatusLabel4.Text = "toolStripStatusLabel4";
this.toolStripStatusLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.toolStripStatusLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// ETCPictureCheckBox // ETCPictureCheckBox
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 23F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight; this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.Controls.Add(this.splitContainer1); this.Controls.Add(this.splitContainer1);
......
...@@ -24,6 +24,8 @@ namespace ETC_App1 ...@@ -24,6 +24,8 @@ namespace ETC_App1
private List<Json> Data = new List<Json>(); private List<Json> Data = new List<Json>();
public string UsingID { get; set; }
public Color ErrorColor { get; set; } = Color.Red; public Color ErrorColor { get; set; } = Color.Red;
public Color WarningColor { get; set; } = Color.Blue; public Color WarningColor { get; set; } = Color.Blue;
...@@ -117,13 +119,20 @@ namespace ETC_App1 ...@@ -117,13 +119,20 @@ namespace ETC_App1
listBox1.Items.Add((json.lost2 ? "" : json.index + ". ") + (json.success ? json.message1 : "資料異常")); listBox1.Items.Add((json.lost2 ? "" : json.index + ". ") + (json.success ? json.message1 : "資料異常"));
listBox2.Items.Add((json.lost2 ? json.filename + "," : json.index + ". ") + (json.success ? json.message1 : json.message2)); listBox2.Items.Add((json.lost2 ? json.filename + "," : json.index + ". ") + (json.success ? json.message1 : (json.lost1?json.filename:json.message2)));
listBox1.SelectedIndex = listBox1.Items.Count - 1; listBox1.SelectedIndex = listBox1.Items.Count - 1;
listBox2.SelectedIndex = listBox2.Items.Count - 1; listBox2.SelectedIndex = listBox2.Items.Count - 1;
} }
public void Clear()
{
listBox1.Items.Clear();
listBox2.Items.Clear();
}
private void EtcStatusStrip1_Resize(object sender, EventArgs e) private void EtcStatusStrip1_Resize(object sender, EventArgs e)
{ {
StatusStripWidth = etcStatusStrip1.Size.Width; StatusStripWidth = etcStatusStrip1.Size.Width;
...@@ -216,10 +225,6 @@ namespace ETC_App1 ...@@ -216,10 +225,6 @@ namespace ETC_App1
button1.Text = json.success && json.failed ? "正確" : button1.Text; button1.Text = json.success && json.failed ? "正確" : button1.Text;
button1.ForeColor = json.success ? Color.Green : button1.ForeColor; button1.ForeColor = json.success ? Color.Green : button1.ForeColor;
button2.Text = json.success && json.failed ? "錯誤" : "下一筆";
button2.ForeColor = json.success ? Color.Red : Color.Black;
} }
listBox2.SelectedIndex = listBox1.SelectedIndex; listBox2.SelectedIndex = listBox1.SelectedIndex;
...@@ -251,5 +256,68 @@ namespace ETC_App1 ...@@ -251,5 +256,68 @@ namespace ETC_App1
{ {
listBox1.SelectedIndex = listBox2.SelectedIndex; listBox1.SelectedIndex = listBox2.SelectedIndex;
} }
private void Button1_Click(object sender, EventArgs e)
{
if (button1.Text == "正確")
{
Data[listBox1.SelectedIndex].failed = false;
Data[listBox1.SelectedIndex].message1 = Data[listBox1.SelectedIndex].message1+"["+UsingID+"]";
listBox1.Items[listBox1.SelectedIndex] = listBox1.SelectedIndex + "." + Data[listBox1.SelectedIndex].message1;
listBox2.Items[listBox1.SelectedIndex] = listBox2.SelectedIndex + "." + Data[listBox1.SelectedIndex].message1;
}
}
private void Button2_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex < listBox1.Items.Count - 1)
{
for (int i = listBox1.SelectedIndex; i < listBox1.Items.Count; i++)
{
if(Data[i].success && Data[i].failed)
{
listBox1.SelectedIndex = i;
break;
}
};
}
}
public void SaveLogs(string save_path)
{
string file_path = save_path + "/log.txt";
FileStream fs = new FileStream(@file_path, FileMode.Create, FileAccess.ReadWrite);
StreamWriter sw = new StreamWriter(fs, Encoding.Default);
int success = 0;
int noimg = 0;
int nodata = 0;
for (int i = 0; i < Data.Count; i++)
{
string msg = "";
if (Data[i].lost2)
{
msg = msg + Data[i].filename + ","+ Data[i].message2;
nodata++;
}
else if(Data[i].success)
{
msg = msg + i + "." + Data[i].message1;
success++;
}
else if (Data[i].lost1)
{
msg = msg + i + "." + Data[i].filename;
noimg++;
}
sw.WriteLine(msg);
}
sw.WriteLine("完全正確:"+success+" 找不到圖片:"+noimg+" 缺少比對資料:"+nodata);
sw.Close();
fs.Close();
}
} }
} }
...@@ -68,6 +68,9 @@ ...@@ -68,6 +68,9 @@
<Reference Include="ICSharpCode.SharpZipLib, Version=1.0.0.999, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> <Reference Include="ICSharpCode.SharpZipLib, Version=1.0.0.999, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\SharpZipLib.1.0.0\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath> <HintPath>..\packages\SharpZipLib.1.0.0\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="MySql.Data">
<HintPath>..\packages\mysql\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
...@@ -103,6 +106,7 @@ ...@@ -103,6 +106,7 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Authentication.cs" />
<Compile Include="D1.cs" /> <Compile Include="D1.cs" />
<Compile Include="ETCBackgroundWorker1.cs"> <Compile Include="ETCBackgroundWorker1.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
......
...@@ -11,6 +11,7 @@ using System.Windows.Forms; ...@@ -11,6 +11,7 @@ using System.Windows.Forms;
namespace ETC_App1 namespace ETC_App1
{ {
public partial class Form1 : Form public partial class Form1 : Form
{ {
private int index = 0; private int index = 0;
...@@ -89,9 +90,28 @@ namespace ETC_App1 ...@@ -89,9 +90,28 @@ namespace ETC_App1
private void ToolStripButton1_Click(object sender, EventArgs e) private void ToolStripButton1_Click(object sender, EventArgs e)
{ {
IsLock = false; //int change=0;
string ID = toolStripTextBox1.Text;
string Password = toolStripTextBox2.Text; //取得輸入的帳密
//if (change == 0)
//{
if (Authentication.Authentication_1(ID, Password))
{
//change = 1;
etcPictureCheckBox1.UsingID = ID;
IsLock = false; //登入成功
}
//}
/*
else if (change == 1)
{
change = 0;
IsLock = true;
}
*/
} }
private void ToolStripButton2_Click(object sender, EventArgs e) private void ToolStripButton2_Click(object sender, EventArgs e)
{ {
string text = toolStripTextBox3.Text; string text = toolStripTextBox3.Text;
...@@ -109,6 +129,8 @@ namespace ETC_App1 ...@@ -109,6 +129,8 @@ namespace ETC_App1
toolStripTextBox4.Text = Path.GetDirectoryName(text); toolStripTextBox4.Text = Path.GetDirectoryName(text);
etcPictureCheckBox1.Clear();
etcBackgroundWorker11.RunWorkerAsync(text); etcBackgroundWorker11.RunWorkerAsync(text);
} }
else else
...@@ -138,8 +160,6 @@ namespace ETC_App1 ...@@ -138,8 +160,6 @@ namespace ETC_App1
toolStripComboBox1.Enabled = true; toolStripComboBox1.Enabled = true;
toolStripComboBox1.Items.Clear();
toolStripComboBox1.Items.AddRange(etcBackgroundWorker31.Data.Keys.ToArray()); toolStripComboBox1.Items.AddRange(etcBackgroundWorker31.Data.Keys.ToArray());
toolStripComboBox1.SelectedIndex = toolStripComboBox1.Items.Count > 0 ? 0 : -1; toolStripComboBox1.SelectedIndex = toolStripComboBox1.Items.Count > 0 ? 0 : -1;
...@@ -198,6 +218,7 @@ namespace ETC_App1 ...@@ -198,6 +218,7 @@ namespace ETC_App1
private void ToolStripButton4_Click(object sender, EventArgs e) private void ToolStripButton4_Click(object sender, EventArgs e)
{ {
toolStripComboBox1.Items.Clear();
if (!etcBackgroundWorker31.IsBusy) if (!etcBackgroundWorker31.IsBusy)
{ {
etcBackgroundWorker31.RunWorkerAsync(index); etcBackgroundWorker31.RunWorkerAsync(index);
...@@ -251,7 +272,7 @@ namespace ETC_App1 ...@@ -251,7 +272,7 @@ namespace ETC_App1
private void ToolStripButton6_Click(object sender, EventArgs e) private void ToolStripButton6_Click(object sender, EventArgs e)
{ {
etcPictureCheckBox1.SaveLogs(toolStripTextBox4.Text);
} }
} }
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
20af047b28ab6c4cf1b6e3c0dd90f71e4169e178 de48493c4e47c17f1d3fb9ea7de587584520d94e
...@@ -116,3 +116,64 @@ D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CoreCompileInputs.cache ...@@ -116,3 +116,64 @@ D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CoreCompileInputs.cache
D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CopyComplete D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.csproj.CopyComplete
D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.exe D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.exe
D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.pdb D:\C#\e-eye\ETC_App1\obj\Debug\ETC_App1.pdb
D:\C#\e-eye3\ETC_App1\bin\Debug\x64\concrt140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x64\cvextern.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x64\msvcp140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x64\opencv_ffmpeg401_64.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x64\vcruntime140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x86\concrt140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x86\cvextern.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x86\msvcp140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x86\opencv_ffmpeg401.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\x86\vcruntime140.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\ETC_App1.exe.config
D:\C#\e-eye3\ETC_App1\bin\Debug\ETC_App1.exe
D:\C#\e-eye3\ETC_App1\bin\Debug\ETC_App1.pdb
D:\C#\e-eye3\ETC_App1\bin\Debug\Aspose.BarCode.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\Emgu.CV.UI.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\Emgu.CV.World.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\ICSharpCode.SharpZipLib.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\Newtonsoft.Json.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\NPOI.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\NPOI.OOXML.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\NPOI.OpenXml4Net.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\NPOI.OpenXmlFormats.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\RestSharp.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\ZedGraph.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\Aspose.BarCode.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\Emgu.CV.UI.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\Emgu.CV.World.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\ICSharpCode.SharpZipLib.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\Newtonsoft.Json.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\RestSharp.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\ZedGraph.xml
D:\C#\e-eye3\ETC_App1\bin\Debug\de\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\es\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\fr\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\hu\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\it\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\ja\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\pt\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\ru\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\sk\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\sv\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\tr\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\zh-cn\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\bin\Debug\zh-tw\ZedGraph.resources.dll
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.csprojAssemblyReference.cache
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker1.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker2.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCBackgroundWorker3.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCPictureBox.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCPictureCheckBox.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCStatusStrip.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.ETCToolStrip.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.Form1.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.Properties.Resources.resources
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.csproj.GenerateResource.cache
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.csproj.CoreCompileInputs.cache
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.csproj.CopyComplete
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.exe
D:\C#\e-eye3\ETC_App1\obj\Debug\ETC_App1.pdb
D:\C#\e-eye\ETC_App1\bin\Debug\MySql.Data.dll
D:\C#\e-eye\ETC_App1\bin\Debug\MySql.Data.xml
<?xml version="1.0"?>
<doc>
<assembly>
<name>MySql.Data.EntityFrameworkCore</name>
</assembly>
<members>
<member name="T:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCharsetAttribute">
<summary>
Establishes the character set of an entity property.
</summary>
</member>
<member name="P:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCharsetAttribute.Charset">
<summary>
Character set to use for the attribute.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCharsetAttribute.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCharsetAttribute"/> class.
</summary>
<param name="charset">Character set to use.</param>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCollationAttribute">
<summary>
Sets the collation in an entity property.
</summary>
</member>
<member name="P:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCollationAttribute.Collation">
<summary>
Collation set in the attribute.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCollationAttribute.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:MySql.Data.EntityFrameworkCore.DataAnnotations.MySqlCollationAttribute"/> class.
</summary>
<param name="collation">Collation to use.</param>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions">
<summary>
Represents the implementation of MySQL property-builder extensions used in Fluent API.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.UseMySQLAutoIncrementColumn(Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder,System.String)">
<summary>
Defines a MySQL auto-increment column.
</summary>
<param name="propertyBuilder">Entity property to be set.</param>
<param name="typeName">MySQL column type as string.</param>
<returns>Property builder of the auto-increment column.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasDefaultValueSql(Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder,System.String)">
<summary>
Defines a column default value expression.
</summary>
<param name="propertyBuilder">Entity property to be set.</param>
<param name="sql">Default value expression.</param>
<returns>Property builder of a MySQL column with a default value.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasDefaultValue(Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder,System.Object)">
<summary>
Defines a column default value.
</summary>
<param name="propertyBuilder">Entity property to be set.</param>
<param name="sql">Default value.</param>
<returns>Property builder of a MySQL column with a default value.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasCharset(Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder,System.String)">
<summary>
Adds the character set to an entity property.
</summary>
<param name="propertyBuilder">Property builder.</param>
<param name="charset">MySQL character set to use.</param>
<returns>Property builder with a character set.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasCharset(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder,System.String)">
<summary>
Adds the character set to an entity.
</summary>
<param name="entityTypeBuilder">Entity type builder.</param>
<param name="charset">MySQL character set to use.</param>
<returns>Entity type builder with a character set.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasCollation(Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder,System.String)">
<summary>
Adds the collation to an entity property.
</summary>
<param name="propertyBuilder">Property builder.</param>
<param name="collation">MySQL collation to use.</param>
<returns>Property builder with a collation.</returns>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLPropertyBuilderExtensions.ForMySQLHasCollation(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder,System.String)">
<summary>
Adds the collation to an entity.
</summary>
<param name="entityTypeBuilder">Entity type builder.</param>
<param name="collation">MySQL collation to use.</param>
<returns>Entity type builder with a collation.</returns>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Extensions.MySQLServiceCollectionExtensions">
<summary>
MySQL extension class for <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Extensions.MySQLServiceCollectionExtensions.AddEntityFrameworkMySQL(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
Extension method used to configure all MySQL services.
</summary>
<param name="services">Collection of service descriptors.</param>
<returns>Collection of MySQL services descriptors.</returns>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder">
<summary>
Represents the <see cref="T:Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder`2" /> implemented for MySQL.
</summary>
<summary>
Represents the <see cref="T:Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder`2" /> implementation for MySQL.
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Infraestructure.MySQLOptionsExtension">
<summary>
Represents the <see cref="T:Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension"/> implementation for MySQL.
</summary>
<summary>
Represents the <see cref="T:Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension"/> implementation for MySQL.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Infraestructure.MySQLOptionsExtension.ApplyServices(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
<summary>
This method supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This method may change or be removed in future releases.
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Metadata.MySQLAnnotationProvider">
<summary>
Annotation Provider implementation
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Metadata.Internal.MySQLFullAnnotationNames">
<summary>
RelationalFullAnnotationNames for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Metadata.Internal.MySQLAnnotationNames">
<summary>
Names for MySQL annotations.
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Migrations.MySQLMigrationsSqlGenerator">
<summary>
MigrationSqlGenerator implementation for MySQL
</summary>
<summary>
MigrationSqlGenerator implementation for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Migrations.Operations.MySQLCreateDatabaseOperation">
<summary>
Create database operation class for migrations
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Migrations.Operations.MySQLDropDatabaseOperation">
<summary>
Drop database operation for migrations.
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.MySQLCompositeMethodCallTranslator">
<summary>
RelationalCompositeMethodCallTranslator implementation for MySQL
</summary>
<summary>
RelationalCompositeMethodCallTranslator implementation for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Query.MySQLQueryGeneratorFactory">
<summary>
Implementation for QuerySqlGeneratorFactoryBase
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Storage.Internal.MySQLCommandBuilder.Build">
<summary>
This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
</summary>
</member>
<member name="M:MySql.Data.EntityFrameworkCore.Storage.Internal.MySQLCommandBuilder.ToString">
<summary>
This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.MySQLDatabaseCreator">
<summary>
Relational Database creator implementation in MySQL
</summary>
<summary>
Relational Database creator implementation in MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.MySQLDatabaseProviderServices">
<summary>
RelationalDatabaseProviderServices implementation for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.MySQLCompositeMemberTranslator">
<summary>
RelationalCompositeMemberTranslator implementation for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Update.MySQLModificationCommandBatch">
<summary>
AffectedCountModificationCommandBatch implementation for MySQL
</summary>
</member>
<member name="T:MySql.Data.EntityFrameworkCore.Update.MySQLModificationCommandBatchFactory">
<summary>
IModificationCommandBatchFactory implemntation for MySQL
</summary>
</member>
<member name="T:Microsoft.EntityFrameworkCore.MySQLDbContextOptionsExtensions">
<summary>
Represents the context-option extensions implemented for MySQL.
</summary>
</member>
<member name="M:Microsoft.EntityFrameworkCore.MySQLDbContextOptionsExtensions.UseMySQL(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder,System.String,System.Action{MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder})">
<summary>
Configures the <see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> to use MySQL Sever.
</summary>
<param name="optionsBuilder">DbContext option builder.</param>
<param name="connectionString">MySQL connection string.</param>
<param name="MySQLOptionsAction">DbContext option builder action.</param>
<returns>DbContext option builder using MySQL.</returns>
</member>
<member name="M:Microsoft.EntityFrameworkCore.MySQLDbContextOptionsExtensions.UseMySQL(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder,System.Data.Common.DbConnection,System.Action{MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder})">
<summary>
Configures the <see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> to use MySQL Sever.
</summary>
<param name="optionsBuilder">DbContext option builder.</param>
<param name="connection">MySQL connection object.</param>
<param name="MySQLOptionsAction">DbContext option builder action.</param>
<returns>DbContext option builder using MySQL.</returns>
</member>
<member name="M:Microsoft.EntityFrameworkCore.MySQLDbContextOptionsExtensions.UseMySQL``1(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder{``0},System.String,System.Action{MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder})">
<summary>
Configures the <see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> to use MySQL Sever.
</summary>
<typeparam name="TContext"><see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> type.</typeparam>
<param name="optionsBuilder">DbContext option builder.</param>
<param name="connectionString">MySQL connection string.</param>
<param name="MySQLOptionsAction">DbContext option builder action.</param>
<returns>DbContext option builder using MySQL.</returns>
</member>
<member name="M:Microsoft.EntityFrameworkCore.MySQLDbContextOptionsExtensions.UseMySQL``1(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder{``0},System.Data.Common.DbConnection,System.Action{MySql.Data.EntityFrameworkCore.Infraestructure.MySQLDbContextOptionsBuilder})">
<summary>
Configures the <see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> to use MySQL Sever.
</summary>
<typeparam name="TContext"><see cref="T:Microsoft.EntityFrameworkCore.DbContext" /> type.</typeparam>
<param name="optionsBuilder">DbContext option builder.</param>
<param name="connection">MySQL connection object.</param>
<param name="MySQLOptionsAction">DbContext option builder action.</param>
<returns>DbContext option builder using MySQL.</returns>
</member>
</members>
</doc>
<?xml version="1.0"?>
<doc>
<assembly>
<name>MySql.Data.Entity.EF6</name>
</assembly>
<members>
<member name="T:MySql.Data.Entity.SqlFragmentVisitor">
<summary>
Visitor for SqlFragment and derived classes, useful for postprocessing and optimizations.
</summary>
</member>
<member name="T:MySql.Data.Entity.ReplaceTableNameVisitor">
<summary>
Visitor to replace old table names with new table names. Used as part postprocessing of the code for fusing nested selects.
</summary>
</member>
<member name="T:MySql.Data.Entity.OpType">
<summary>
Specifies the operation types supported.
</summary>
</member>
<member name="M:MySql.Data.Entity.SelectGenerator.TryFlatteningGroupBy(MySql.Data.Entity.SqlFragment)">
<summary>
If input sqlFragment is a group by structure, is flattened to remove some nested correlation queries.
</summary>
<param name="input"></param>
<returns></returns>
</member>
<member name="M:MySql.Data.Entity.SqlGenerator.TryFusingSelect(MySql.Data.Entity.InputFragment)">
<summary>
If current fragment is select and its from clause is another select, try fuse the inner select with the outer select.
(Thus removing a nested query, which may have bad performance in Mysql).
</summary>
<param name="f">The fragment to probe and posibly optimize</param>
<returns>The fragment fused, or the original one.</returns>
</member>
<member name="M:MySql.Data.Entity.SqlGenerator.TryPromoteToLike(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.String)">
<summary>
Examines a binary expression to see if it is an special case suitable to conversion
to a more efficient and equivalent LIKE sql expression.
</summary>
<param name="left"></param>
<param name="right"></param>
<param name="op"></param>
<returns></returns>
</member>
<member name="T:MySql.Data.Entity.MySqlConnectionFactory">
<summary>
Used for creating connections in Code First 4.3.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlDependencyResolver">
<summary>
Provides the capability to resolve a dependency.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlDependencyResolver.GetService(System.Type,System.Object)">
<summary>
Attempts to resolve a dependency for a given contract type and optionally a given key.
</summary>
<param name="type">The base class that defines the dependency to be resolved.</param>
<param name="key">Optionally, the key of the dependency to be resolved.</param>
<returns>The resolved dependency.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlDependencyResolver.GetServices(System.Type,System.Object)">
<summary>
Attempts to resolve a dependency for all of the registered services with the given type and key combination.
</summary>
<param name="type">The base class that defines the dependency to be resolved.</param>
<param name="key">Optionally, the key of the dependency to be resolved.</param>
<returns>All services that resolve the dependency.</returns>
</member>
<member name="T:MySql.Data.Entity.MySqlProviderInvariantName">
<summary>
Used to resolve a provider invariant name from a provider factory.
</summary>
</member>
<member name="P:MySql.Data.Entity.MySqlProviderInvariantName.Name">
<summary>
Gets the name of the provider.
</summary>
</member>
<member name="P:MySql.Data.Entity.MySqlProviderInvariantName.ProviderName">
<summary>
Gets the name of the provider.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlProviderFactoryResolver">
<summary>
Service that obtains the provider factory from a given connection.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlProviderFactoryResolver.ResolveProviderFactory(System.Data.Common.DbConnection)">
<summary>
Returns the <see cref="T:System.Data.Common.DbProviderFactory"/> for the given connection.
</summary>
<param name="connection">The database connection.</param>
<returns>The provider factory for the connection.</returns>
</member>
<member name="T:MySql.Data.Entity.MySqlManifestTokenResolver">
<summary>
Gets a provider manifest token for the given connection.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlManifestTokenResolver.ResolveManifestToken(System.Data.Common.DbConnection)">
<summary>
Returns the manifest token to use for the given connection.
</summary>
<param name="connection">The connection for which a manifest token is required.</param>
<returns>The manifest token to use.</returns>
</member>
<member name="T:MySql.Data.Entity.MySqlModelCacheKey">
<summary>
Represents a key value that uniquely identifies an Entity Framework model that has been loaded into memory.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlModelCacheKey.Equals(System.Object)">
<summary>
Determines whether the current cached model key is equal to the specified cached
model key.
</summary>
<param name="other">The cached model key to compare to the current cached model key.</param>
<returns><c>true</c> if the current cached model key is equal to the specified cached model key;
otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlModelCacheKey.GetHashCode">
<summary>
Returns the hash function for this cached model key.
</summary>
<returns>The hash function for this cached model key.</returns>
</member>
<member name="T:MySql.Data.Entity.MySqlEFConfiguration">
<summary>
Defines the configuration of an application to be used with Entity Framework.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlEFConfiguration.#ctor">
<summary>
Initializes a new instance of <see cref="T:MySql.Data.Entity.MySqlEFConfiguration"/> class.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlExecutionStrategy">
<summary>
An execution strategy tailored for handling MySql Server transient errors.
</summary>
</member>
<member name="F:MySql.Data.Entity.MySqlExecutionStrategy.errorsToRetryOn">
<summary>
Different back off algorithms used for different errors.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithm">
<summary>
The base class for backoff algorithms.
</summary>
<remarks>Different transient error conditions require different approaches.</remarks>
</member>
<member name="M:MySql.Data.Entity.BackoffAlgorithm.GetNextDelay">
<summary>
The default implementation is an exponential delay backoff.
</summary>
<returns></returns>
</member>
<member name="M:MySql.Data.Entity.BackoffAlgorithm.Reset">
<summary>
Resets a backoff algorithm, so they can be reused.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr1040">
<summary>
Back-off algorithm customized for the MySql error code 1040 - Too many connections.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr1614">
<summary>
Back-off algorithm for the Mysql error code 1614 - Transaction branch was rolled back: deadlock was detected.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr1205">
<summary>
Back-off algorithm customized for the MySql error code 1205 - Lock wait timeout exceeded; try restarting transaction.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr1213">
<summary>
Back-off algorithm customized for MySql error code 1213 - Deadlock found when trying to get lock; try restarting transaction.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr2006">
<summary>
Back-off algorithm customized for MySql error code 2006 - MySQL server has gone away.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmErr2013">
<summary>
Back-off algorithm customized for MySql error code 2013 - Lost connection to MySQL server during query.
</summary>
</member>
<member name="T:MySql.Data.Entity.BackoffAlgorithmNdb">
<summary>
Back-off algorithm customized for MySql Cluster (NDB) errors.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlHistoryContext">
<summary>
Reads and writes migration history from the database during code first migrations.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlLogger">
<summary>
Enables the creation of MySQL logs for applications.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlMigrationCodeGenerator">
<summary>
Class used to customized code generation
to avoid dbo. prefix added on table names.
</summary>
</member>
<member name="T:MySql.Data.Entity.MySqlMigrationSqlGenerator">
<summary>
Implementation of a MySql's Sql generator for EF 4.3 data migrations.
</summary>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddColumnOperation)">
<summary>
Generates a migration operation to add a column.
</summary>
<param name="op">The operation that represents a column being added to a table.</param>
<returns>A migration operation to add a column.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropColumnOperation)">
<summary>
Generates a migration operation to drop a column.
</summary>
<param name="op">The operation that represents a column being dropped from a table.</param>
<returns>The migration operation to drop a column.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AlterColumnOperation)">
<summary>
Generates a migration operation to alter a column.
</summary>
<param name="op">The operation that represents altering an existing column.</param>
<returns>A migration operation to alter a column.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameColumnOperation)">
<summary>
Generates a migration operation to rename a column.
</summary>
<param name="op">The operation that represents a column being renamed.</param>
<returns>A migration operation to rename a column.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddForeignKeyOperation)">
<summary>
Generates a migration operation to add a foreign key.
</summary>
<param name="op">the operation that represents a foreing key constraint being added to a table.</param>
<returns>A migration operation to add a foreign key constraint.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.ColumnModel)">
<summary>
Generates an SQL statement of a column model.
</summary>
<param name="op">The model that represents a column.</param>
<returns>A string containing an SQL statement of a column model.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropForeignKeyOperation)">
<summary>
Generates a migration operation to drop a foreign key constraint from a table.
</summary>
<param name="op">The operation that represents a foreign key being added from a table.</param>
<returns>A migration operation to drop a foreign key.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateIndexOperation)">
<summary>
Generates a migration operation to create a database index.
</summary>
<param name="op">The operation that represents creating a database index.</param>
<returns>A migration operation to create a database index.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropIndexOperation)">
<summary>
Generates a migration operation to drop an existing database index.
</summary>
<param name="op">The operation that represents dropping am existing database index.</param>
<returns>A migration operation to drop an existing database index.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.CreateTableOperation)">
<summary>
Generates a migration operation to create a table.
</summary>
<param name="op">The operation that represents creating a table.</param>
<returns>A migration operation to create a table.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropTableOperation)">
<summary>
Generates a migration operation to drop an existing table.
</summary>
<param name="op">The operation that represents dropping an existing table.</param>
<returns>A migration operation to drop an existing table.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation)">
<summary>
Generates a migration operation to add a primary key to a table.
</summary>
<param name="op">The operation that represents adding a primary key to a table.</param>
<returns>A migration operation to add a primary key to a table.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.DropPrimaryKeyOperation)">
<summary>
Generates a migration operation to drpo an existing primary key.
</summary>
<param name="op">The operation that represents dropping an existing primary key.</param>
<returns>A migration operation to drop an existing primary key.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.RenameTableOperation)">
<summary>
Generates a migration operation to rename an existing table.
</summary>
<param name="op">The operation that represents renaming an existing table.</param>
<returns>A migration operation to rename an existing table.</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.MoveTableOperation)">
<summary>
Not implemented yet.
</summary>
<param name="op">NA</param>
<returns>NA</returns>
</member>
<member name="M:MySql.Data.Entity.MySqlMigrationSqlGenerator.Generate(System.Data.Entity.Migrations.Model.SqlOperation)">
<summary>
Generates a migration operation with a MySQL statement to be executed.
</summary>
<param name="op">The operation representing a MySQL statement to be executed directly against the database.</param>
<returns>A migration operation with a MySQL statement to be executed.</returns>
</member>
<member name="T:MySql.Data.Entity.Properties.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.ConnectionMustBeOfTypeMySqlConnection">
<summary>
Looks up a localized string similar to The connection parameter must reference an object of type MySql.Data.MySqlConnection.
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.NoStoreTypeForEdmType">
<summary>
Looks up a localized string similar to There is no store type corresponding to the EDM type &apos;{0}&apos; of primitive type &apos;{1}&apos;..
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.TypeNotSupported">
<summary>
Looks up a localized string similar to The underlying provider does not support the type &apos;{0}&apos;..
</summary>
</member>
<member name="P:MySql.Data.Entity.Properties.Resources.WrongFunctionResultType">
<summary>
Looks up a localized string similar to Result type of a function is expected to be a collection of RowType or PrimitiveType.
</summary>
</member>
<member name="M:MySql.Data.MySqlClient.MySqlProviderServices.SetExpectedTypes(System.Data.Entity.Core.Common.CommandTrees.DbCommandTree,MySql.Data.Entity.EFMySqlCommand)">
<summary>
Sets the expected column types
</summary>
</member>
<member name="M:MySql.Data.MySqlClient.MySqlProviderServices.SetQueryExpectedTypes(System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree,MySql.Data.Entity.EFMySqlCommand)">
<summary>
Sets the expected column types for a given query command tree
</summary>
</member>
<member name="M:MySql.Data.MySqlClient.MySqlProviderServices.SetFunctionExpectedTypes(System.Data.Entity.Core.Common.CommandTrees.DbFunctionCommandTree,MySql.Data.Entity.EFMySqlCommand)">
<summary>
Sets the expected column types for a given function command tree
</summary>
</member>
</members>
</doc>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0"?>
<doc>
<assembly>
<name>MySql.Web</name>
</assembly>
<members>
<member name="M:MySql.Web.General.Application.EnsureId(MySql.Data.MySqlClient.MySqlConnection)">
<summary>
Creates the or fetch application id.
</summary>
<param name="connection">The connection.</param>
</member>
<member name="T:MySql.Web.Security.MySQLMembershipProvider">
<summary>
Manages storage of membership information for an ASP.NET application in a MySQL database.
</summary>
<remarks>
<para>
This class is used by the <see cref="T:System.Web.Security.Membership"/> and <see cref="T:System.Web.Security.MembershipUser"/> classes
to provide membership services for ASP.NET applications using a MySQL database.
</para>
</remarks>
<example>
<code source="CodeExamples/MembershipCodeExample2.xml"/>
</example>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>
Initializes the MySQL membership provider with the property values specified in the
ASP.NET application's configuration file. This method is not intended to be used directly
from your code.
</summary>
<param name="name">The name of the <see cref="T:MySql.Web.Security.MySQLMembershipProvider"/> instance to initialize.</param>
<param name="config">A collection of the name/value pairs representing the
provider-specific attributes specified in the configuration for this provider.</param>
<exception cref="T:System.ArgumentNullException">config is a null reference.</exception>
<exception cref="T:System.InvalidOperationException">An attempt is made to call <see cref="M:System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection)"/> on a provider after the provider has already been initialized.</exception>
<exception cref="T:System.Configuration.Provider.ProviderException"></exception>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.ApplicationName">
<summary>
The name of the application using the MySQL membership provider.
</summary>
<value>The name of the application using the MySQL membership provider. The default is the
application virtual path.</value>
<remarks>The ApplicationName is used by the MySqlMembershipProvider to separate
membership information for multiple applications. Using different application names,
applications can use the same membership database.
Likewise, multiple applications can make use of the same membership data by simply using
the same application name.
Caution should be taken with multiple applications as the ApplicationName property is not
thread safe during writes.
</remarks>
<example>
The following example shows the membership element being used in an applications web.config file.
The application name setting is being used.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.EnablePasswordReset">
<summary>
Indicates whether the membership provider is configured to allow users to reset their passwords.
</summary>
<value>true if the membership provider supports password reset; otherwise, false. The default is true.</value>
<remarks>Allows the user to replace their password with a new, randomly generated password.
This can be especially handy when using hashed passwords since hashed passwords cannot be
retrieved.</remarks>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.EnablePasswordRetrieval">
<summary>
Indicates whether the membership provider is configured to allow users to retrieve
their passwords.
</summary>
<value>true if the membership provider is configured to support password retrieval;
otherwise, false. The default is false.</value>
<remarks>If the system is configured to use hashed passwords, then retrieval is not possible.
If the user attempts to initialize the provider with hashed passwords and enable password retrieval
set to true then a <see cref="T:System.Configuration.Provider.ProviderException"/> is thrown.</remarks>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.RequiresQuestionAndAnswer">
<summary>
Gets a value indicating whether the membership provider is
configured to require the user to answer a password question
for password reset and retrieval.
</summary>
<value>true if a password answer is required for password
reset and retrieval; otherwise, false. The default is false.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.RequiresUniqueEmail">
<summary>
Gets a value indicating whether the membership provider is configured
to require a unique e-mail address for each user name.
</summary>
<value>true if the membership provider requires a unique e-mail address;
otherwise, false. The default is true.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.MaxInvalidPasswordAttempts">
<summary>
Gets the number of invalid password or password-answer attempts allowed
before the membership user is locked out.
</summary>
<value>The number of invalid password or password-answer attempts allowed
before the membership user is locked out.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.PasswordAttemptWindow">
<summary>
Gets the number of minutes in which a maximum number of invalid password or
password-answer attempts are allowed before the membership user is locked out.
</summary>
<value>The number of minutes in which a maximum number of invalid password or
password-answer attempts are allowed before the membership user is locked out.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.PasswordFormat">
<summary>
Gets a value indicating the format for storing passwords in the membership data store.
</summary>
<value>One of the <see cref="T:System.Web.Security.MembershipPasswordFormat"/>
values indicating the format for storing passwords in the data store.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.MinRequiredNonAlphanumericCharacters">
<summary>
Gets the minimum number of special characters that must be present in a valid password.
</summary>
<value>The minimum number of special characters that must be present
in a valid password.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.MinRequiredPasswordLength">
<summary>
Gets the minimum length required for a password.
</summary>
<value>The minimum length required for a password. </value>
<example>
The following example shows the membership element being used in an applications web.config file.
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.PasswordStrengthRegularExpression">
<summary>
Gets the regular expression used to evaluate a password.
</summary>
<value>A regular expression used to evaluate a password.</value>
<example>
The following example shows the membership element being used in an applications web.config file.
In this example, the regular expression specifies that the password must meet the following
criteria:
<ul>
<list>Is at least seven characters.</list>
<list>Contains at least one digit.</list>
<list>Contains at least one special (non-alphanumeric) character.</list>
</ul>
<code source="CodeExamples/MembershipCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLMembershipProvider.WriteExceptionsToEventLog">
<summary>
Gets or sets a value indicating whether exceptions are written to the event log.
</summary>
<value>
<c>true</c> if exceptions should be written to the log; otherwise, <c>false</c>.
</value>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.ChangePassword(System.String,System.String,System.String)">
<summary>
Changes the password.
</summary>
<param name="username">The username.</param>
<param name="oldPassword">The old password.</param>
<param name="newPassword">The new password.</param>
<returns><c>true</c> if the password was updated successfully; <c>false</c> if the supplied old password
is invalid, the user is locked out, or the user does not exist in the database.</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.ChangePasswordQuestionAndAnswer(System.String,System.String,System.String,System.String)">
<summary>
Changes the password question and answer.
</summary>
<param name="username">The user name.</param>
<param name="password">The password.</param>
<param name="newPwdQuestion">The new password question.</param>
<param name="newPwdAnswer">The new password answer.</param>
<returns><c>true</c> if the update was successful; otherwise, <c>false</c>. A value of <c>false</c> is
also returned if the password is incorrect, the user is locked out, or the user
does not exist in the database.</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.CreateUser(System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Object,System.Web.Security.MembershipCreateStatus@)">
<summary>
Adds a new membership user to the data source.
</summary>
<param name="username">The user name for the new user.</param>
<param name="password">The password for the new user.</param>
<param name="email">The e-mail address for the new user.</param>
<param name="passwordQuestion">The password question for the new user.</param>
<param name="passwordAnswer">The password answer for the new user</param>
<param name="isApproved">Whether or not the new user is approved to be validated.</param>
<param name="providerUserKey">The unique identifier from the membership data source for the user.</param>
<param name="status">A <see cref="T:System.Web.Security.MembershipCreateStatus"/> enumeration value indicating whether the user was created successfully.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUser"/> object populated with the information for the newly created user.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.DeleteUser(System.String,System.Boolean)">
<summary>
Removes a user from the membership data source.
</summary>
<param name="username">The name of the user to delete.</param>
<param name="deleteAllRelatedData"><c>true</c> to delete data related to the user from the database; <c>false</c> to leave data related to the user in the database.</param>
<returns>
<c>true</c> if the user was successfully deleted; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetAllUsers(System.Int32,System.Int32,System.Int32@)">
<summary>
Gets a collection of all the users in the data source in pages of data.
</summary>
<param name="pageIndex">The index of the page of results to return. <paramref name="pageIndex"/> is zero-based.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">The total number of matched users.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUserCollection"/> collection that contains a page of <see cref="T:System.Web.Security.MembershipUser"/> objects beginning at the page specified by <paramref name="pageIndex"/>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetNumberOfUsersOnline">
<summary>
Gets the number of users currently accessing the application.
</summary>
<returns>
The number of users currently accessing the application.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetPassword(System.String,System.String)">
<summary>
Gets the password for the specified user name from the data source.
</summary>
<param name="username">The user to retrieve the password for.</param>
<param name="answer">The password answer for the user.</param>
<returns>
The password for the specified user name.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetUser(System.String,System.Boolean)">
<summary>
Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
</summary>
<param name="username">The name of the user to get information for.</param>
<param name="userIsOnline"><c>true</c> to update the last-activity date/time stamp for the user; <c>false</c> to return user information without updating the last-activity date/time stamp for the user.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUser"/> object populated with the specified user's information from the data source.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetUser(System.Object,System.Boolean)">
<summary>
Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.
</summary>
<param name="providerUserKey">The unique identifier for the membership user to get information for.</param>
<param name="userIsOnline"><c>true</c> to update the last-activity date/time stamp for the user; <c>false</c> to return user information without updating the last-activity date/time stamp for the user.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUser"/> object populated with the specified user's information from the data source.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.UnlockUser(System.String)">
<summary>
Unlocks the user.
</summary>
<param name="username">The username.</param>
<returns><c>true</c> if the membership user was successfully unlocked;
otherwise, <c>false</c>. A value of <c>false</c> is also returned if the user
does not exist in the database. </returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.GetUserNameByEmail(System.String)">
<summary>
Gets the user name associated with the specified e-mail address.
</summary>
<param name="email">The e-mail address to search for.</param>
<returns>
The user name associated with the specified e-mail address. If no match is found, return null.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.ResetPassword(System.String,System.String)">
<summary>
Resets a user's password to a new, automatically generated password.
</summary>
<param name="username">The user to reset the password for.</param>
<param name="answer">The password answer for the specified user.</param>
<returns>The new password for the specified user.</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.UpdateUser(System.Web.Security.MembershipUser)">
<summary>
Updates information about a user in the data source.
</summary>
<param name="user">A <see cref="T:System.Web.Security.MembershipUser"/> object
that represents the user to update and the updated information for the user.</param>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.ValidateUser(System.String,System.String)">
<summary>
Verifies that the specified user name and password exist in the data source.
</summary>
<param name="username">The name of the user to validate.</param>
<param name="password">The password for the specified user.</param>
<returns>
<c>true</c> if the specified username and password are valid; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.FindUsersByName(System.String,System.Int32,System.Int32,System.Int32@)">
<summary>
Gets a collection of membership users where the user name contains the specified user name to match.
</summary>
<param name="usernameToMatch">The user name to search for.</param>
<param name="pageIndex">The index of the page of results to return. <paramref name="pageIndex"/> is zero-based.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">The total number of matched users.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUserCollection"/> collection that contains a page of <paramref name="pageSize"/><see cref="T:System.Web.Security.MembershipUser"/> objects beginning at the page specified by <paramref name="pageIndex"/>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.FindUsersByEmail(System.String,System.Int32,System.Int32,System.Int32@)">
<summary>
Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
</summary>
<param name="emailToMatch">The e-mail address to search for.</param>
<param name="pageIndex">The index of the page of results to return. <paramref name="pageIndex"/> is zero-based.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">The total number of matched users.</param>
<returns>
A <see cref="T:System.Web.Security.MembershipUserCollection"/> collection that contains a page of <paramref name="pageSize"/><see cref="T:System.Web.Security.MembershipUser"/> objects beginning at the page specified by <paramref name="pageIndex"/>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLMembershipProvider.HashPasswordBytes(System.Byte[],System.Byte[])">
<summary>
this method is only necessary because early versions of Mono did not support
the HashAlgorithmType property
</summary>
<param name="key"></param>
<param name="bytes"></param>
<returns></returns>
</member>
<member name="T:MySql.Web.Security.MySqlDatabaseWrapper">
<summary>
Perform basic operations against a Database
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.#ctor(System.String)">
<summary>
Initialize a new instance of the class
</summary>
<param name="connectionString">Connection String</param>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.Close">
<summary>
Close the current instance
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.Dispose">
<summary>
Dispose the current instance
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.ExecuteQuery(System.String,System.Object[])">
<summary>
Execute given query on the database
</summary>
<param name="cmdText">Query to exeute</param>
<param name="parametersValues">Parameters used in the query</param>
<returns>Query resultset</returns>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.ExecuteQuerySingleRecord(System.String,System.Object[])">
<summary>
Execute given query on the database
</summary>
<param name="cmdText">Query to exeute</param>
<param name="parametersValues">Parameters used in the query</param>
<returns>First record in the Query resultset</returns>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.ExecuteNonQuery(System.String,System.Object[])">
<summary>
Execute given query on the database
</summary>
<param name="cmdText">Query to exeute</param>
<param name="parametersValues">Parameters used in the query</param>
<returns>Rows affected by the query</returns>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.ExecuteScalar(System.String,System.Object[])">
<summary>
Execute given query on the database
</summary>
<param name="cmdText">Query to exeute</param>
<param name="parametersValues">Parameters used in the query</param>
<returns>Value of the first column in the first row in the query resulset</returns>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.ExecuteInTransaction(System.Collections.Generic.IEnumerable{System.Tuple{System.String,System.Object[]}})">
<summary>
Execute all given queries on the database inside of a transaction
</summary>
<param name="commands">Queries to exeute</param>
<returns>If queries were successfully executed</returns>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.CheckIsConnectionOpen">
<summary>
Verifies if the current connection is open, if not is opened
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlDatabaseWrapper.AddParameters(MySql.Data.MySqlClient.MySqlCommand,System.Object[])">
<summary>
Add parameters to a command, nomenclature name used for the parameters are 'param[n]'
</summary>
<param name="cmd">Command that will stores the parameters</param>
<param name="values">Parameters values</param>
</member>
<member name="T:MySql.Web.Security.MySqlWebSecurity">
<summary>
Provides security features for web projects implementing a MySql database.
</summary>
</member>
<member name="F:MySql.Web.Security.MySqlWebSecurity.EnableSimpleMembershipKey">
<summary>
Name of the key required to enable simple membership.
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.ChangePassword(System.String,System.String,System.String)">
<summary>
Changes the password for the user provided.
</summary>
<param name="userName">The user name.</param>
<param name="oldPassword">The current pasword.</param>
<param name="newPassword">The new Password.</param>
<returns></returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.ConfirmAccount(System.String)">
<summary>
Confirms user by confirmation token.
</summary>
<param name="confirmationToken">The confirmation token.</param>
<returns><c>true</c> if the user was confirmed; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.ConfirmAccount(System.String,System.String)">
<summary>
Confirms user by confirmation token and user name.
</summary>
<param name="userName">The user name.</param>
<param name="confirmationToken">The confirmation token.</param>
<returns><c>true</c> if the user was confirmed; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.CreateAccount(System.String,System.String,System.Boolean)">
<summary>
Creates a user account.
</summary>
<param name="userName">The user name.</param>
<param name="password">The user password.</param>
<param name="requireConfirmationToken">Flag to indicate if a confirmation token is required.</param>
<returns>A confirmation token if required.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.CreateUserAndAccount(System.String,System.String,System.Object,System.Boolean)">
<summary>
Creates user and account.
</summary>
<param name="userName">The user name.</param>
<param name="password">The user password.</param>
<param name="additionalUserAttributes">Additional data for user table.</param>
<param name="requireConfirmationToken">Flag to indicate if a confirmation token is required.</param>
<returns>A confirmation token if required.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetCreateDate(System.String)">
<summary>
Gets the date when the specified user was created.
</summary>
<param name="userName">The user name.</param>
<returns>Date created or minimum date value if the user was not found.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetLastPasswordFailureDate(System.String)">
<summary>
Gets the last date when password fails.
</summary>
<param name="userName">The user name.</param>
<returns>Last failure date or minimum date value if the user was not found.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetPasswordChangedDate(System.String)">
<summary>
Gets the date when password was changed.
</summary>
<param name="userName">The user name.</param>
<returns>Last password changed date or minimum date value if the user was not found.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetPasswordFailuresSinceLastSuccess(System.String)">
<summary>
Gets the password failures since last success.
</summary>
<param name="userName">The user name.</param>
<returns>The number of failures since last success.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GeneratePasswordResetToken(System.String,System.Int32)">
<summary>
Generates password reset token for a confirmed user.
</summary>
<param name="userName">The user name.</param>
<param name="tokenExpirationInMinutesFromNow">The time that the token will be valid.</param>
<returns>A generated token or <c>null</c> if the user is not confirmed or does not have a token.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetUserId(System.String)">
<summary>
Gets the user id.
</summary>
<param name="userName">The user name.</param>
<returns>The user id. -1 if the user doesn't exists</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.GetUserIdFromPasswordResetToken(System.String)">
<summary>
Gets the user id from the password reset token.
</summary>
<param name="resetToken">The reset token.</param>
<returns>The user id. 0 if the user doesn't exists.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.Boolean,System.Boolean)">
<summary>
Initializes the simple membership provider with the values given.
</summary>
<param name="connectionStringName">The connection string name defined in the config file.</param>
<param name="userTableName">The table name defined to create new users.</param>
<param name="userIdColumn">The column name defined to store the user ids.</param>
<param name="userNameColumn">The column name defined to store the user name.</param>
<param name="createTables">Flag indicating if the tables should be created.</param>
<param name="checkIfInitialized">Flag indicating to check if the database has been initialized.</param>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.InitializeDatabaseConnection(System.String,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean)">
<summary>
Initializes the simple membership provider with the values given.
</summary>
<param name="connectionString">The connection string.</param>
<param name="providerName">The name of the provider.</param>
<param name="userTableName">The table name defined to create new users.</param>
<param name="userIdColumn">The column name defined to store the user ids.</param>
<param name="userNameColumn">The column name defined to store the user name.</param>
<param name="createTables">Flag indicating if the tables should be created.</param>
<param name="checkIfInitialized">Flag indicating to check if the database has been initialized.</param>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.IsAccountLockedOut(System.String,System.Int32,System.Int32)">
<summary>
Determines if the account is locked out.
</summary>
<param name="userName">The name of the user.</param>
<param name="allowedPasswordAttempts">The number of allowed password attempts.</param>
<returns><c>true</c> if the account is locked; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.IsAccountLockedOut(System.String,System.Int32,System.TimeSpan)">
<summary>
Determines if the account is locked out.
</summary>
<param name="userName">The name of the user.</param>
<param name="allowedPasswordAttempts">The number of allowed password attempts.</param>
<returns><c>true</c> if the account is locked; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.IsConfirmed(System.String)">
<summary>
Determines if the user has been confirmed.
</summary>
<param name="userName">The user name.</param>
<returns><c>true</c> if the user is confirmed; otherwise <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.IsCurrentUser(System.String)">
<summary>
Determines if the <see cref="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserName"/> is the same as the provided user name.
</summary>
<param name="userName">The user name.</param>
<returns><c>true</c> if the user matches the <see cref="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserName"/>; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.IsUseLoggedOn(System.Int32)">
<summary>
Determines if the <see cref="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserId"/> matches the provided user id.
</summary>
<param name="userId">The user id to match.</param>
<returns><c>true</c> if the id matches the <see cref="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserId"/>; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.Login(System.String,System.String,System.Boolean)">
<summary>
Performs a login for the specified user.
</summary>
<param name="userName">The user name.</param>
<param name="password">The user password.</param>
<param name="createPersistentCookie">Flag to indicate if a persistent cookie should be created.</param>
<returns><c>true</c> if the login was successful; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.Logout">
<summary>
Performs a logout for the current item.
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.RequireAuthenticatedUser">
<summary>
Evalutes if the user is authenticated.
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.RequireRoles(System.String[])">
<summary>
Evaluates if the user belongs to the specified roles.
</summary>
<param name="roles"></param>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.RequiresUser(System.Int32)">
<summary>
Evaluates if the user is logged on.
</summary>
<param name="userId"></param>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.RequiresUser(System.String)">
<summary>
Evaluates if the provided user name matches the <see cref="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserName"/>.
</summary>
<param name="userName"></param>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.ResetPassword(System.String,System.String)">
<summary>
Resets the password identified by the provided password reset token.
</summary>
<param name="passwordResetToken">The password reset token.</param>
<param name="newPassword">The new password.</param>
<returns><c>true</c> if the password reset was successful; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.Security.MySqlWebSecurity.UserExists(System.String)">
<summary>
Determines if the user exists.
</summary>
<param name="username">The user name.</param>
<returns><c>true</c> if the user exists; otherwise, <c>false</c>.</returns>
</member>
<member name="P:MySql.Web.Security.MySqlWebSecurity.Initialized">
<summary>
Gets the initialized status.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserId">
<summary>
Gets the current user id.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlWebSecurity.CurrentUserName">
<summary>
Gets the current user name.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlWebSecurity.HasUserId">
<summary>
Gets a flag indicating if there is an associated user id.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlWebSecurity.IsAuthenticated">
<summary>
Gets a flag indicating if the user is authenticated.
</summary>
</member>
<member name="T:MySql.Web.Security.MySQLRoleProvider">
<summary>
Manages storage of role membership information for an ASP.NET application in a MySQL database.
</summary>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>
Initializes the provider.
</summary>
<param name="name">The friendly name of the provider.</param>
<param name="config">A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.</param>
<exception cref="T:System.ArgumentNullException">The name of the provider is null.</exception>
<exception cref="T:System.ArgumentException">The name of the provider has a length of zero.</exception>
<exception cref="T:System.InvalidOperationException">An attempt is made to call <see cref="M:System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection)"/> on a provider after the provider has already been initialized.</exception>
</member>
<member name="P:MySql.Web.Security.MySQLRoleProvider.ApplicationName">
<summary>
Gets or sets the name of the application to store and retrieve role information for.
</summary>
<value>The name of the application to store and retrieve role information for.</value>
<example>
<code source="CodeExamples\RoleCodeExample1.xml"/>
</example>
</member>
<member name="P:MySql.Web.Security.MySQLRoleProvider.WriteExceptionsToEventLog">
<summary>
Gets or sets a value indicating whether exceptions should be written to the event log.
</summary>
<value>
<c>true</c> if exceptions should be written to the event log; otherwise, <c>false</c>.
</value>
<example>
<code source="CodeExamples\RoleCodeExample1.xml"/>
</example>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.AddUsersToRoles(System.String[],System.String[])">
<summary>
Adds the users to the specified roles.
</summary>
<param name="usernames">The user names.</param>
<param name="rolenames">The role names.</param>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.CreateRole(System.String)">
<summary>
Creates the specified role.
</summary>
<param name="rolename">The role name.</param>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.DeleteRole(System.String,System.Boolean)">
<summary>
Deletes the specified role.
</summary>
<param name="rolename">The role name.</param>
<param name="throwOnPopulatedRole">If set to <c>true</c> a <see cref="T:System.Configuration.Provider.ProviderException"/> will be raised if
there are users with the specified role.</param>
<returns><c>true</c> if the role was successfully deleted; otherwise, <c>false</c>. </returns>
<exception cref="T:System.Configuration.Provider.ProviderException">The specified role doesn't exist or <paramref name="throwOnPopulatedRole"/>
is set to <c>true</c> and there are users with the specified role.</exception>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.GetAllRoles">
<summary>
Gets a list of all the roles for the configured applicationName.
</summary>
<returns>
A string array containing the names of all the roles stored in the data source for the configured applicationName.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.GetRolesForUser(System.String)">
<summary>
Gets a list of the roles that a specified user is in for the configured applicationName.
</summary>
<param name="username">The user to return a list of roles for.</param>
<returns>
A string array containing the names of all the roles that the specified user is in for the configured applicationName.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.GetUsersInRole(System.String)">
<summary>
Gets the users with the specified role.
</summary>
<param name="rolename">The role name.</param>
<returns>A string array containing the names of all the users
who are members of the specified role. </returns>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.IsUserInRole(System.String,System.String)">
<summary>
Determines whether [is user in role] [the specified username].
</summary>
<param name="username">The username.</param>
<param name="rolename">The rolename.</param>
<returns>
<c>true</c> if [is user in role] [the specified username]; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.RemoveUsersFromRoles(System.String[],System.String[])">
<summary>
Removes the users from the specified roles.
</summary>
<param name="usernames">The user names.</param>
<param name="rolenames">The role names.</param>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.RoleExists(System.String)">
<summary>
Determines whether the role exists.
</summary>
<param name="rolename">The rolename.</param>
<returns>true if the role name already exists in the database; otherwise, false. </returns>
</member>
<member name="M:MySql.Web.Security.MySQLRoleProvider.FindUsersInRole(System.String,System.String)">
<summary>
Finds the users with the specified role.
</summary>
<param name="rolename">The role name.</param>
<param name="usernameToMatch">The user name to match.</param>
<returns>A string array containing the names of all the users where the
user name matches usernameToMatch and the user is a member of the specified role. </returns>
</member>
<member name="T:MySql.Web.Security.MySqlSimpleMembershipProvider">
<summary>
Manages storage of simple membership information for an ASP.NET application in a MySQL database.
</summary>
</member>
<member name="M:MySql.Web.Security.MySqlSimpleMembershipProvider.GetUserId(System.String)">
<summary>
Gets the id of the specified user.
</summary>
<param name="userName">The name of the user.</param>
<returns>An integer representing the id of the user.</returns>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.ConnectionString">
<summary>
Gets or sets the connection string.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.ConnectionStringName">
<summary>
Gets or sets the name associated to the connection string when stored in the configuration manager.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.ProviderName">
<summary>
Gets or sets the name of this provider.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.UserTableName">
<summary>
Gets the name of the table storing user information.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.UserIdColumn">
<summary>
Gets the name of the column storing the user ids.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleMembershipProvider.UserNameColumn">
<summary>
Gets the name of the column storing the user names.
</summary>
</member>
<member name="T:MySql.Web.Security.MySqlSimpleRoleProvider">
<summary>
Manages storage of simple role membership information for an ASP.NET application in a MySQL database.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleRoleProvider.ConnectionString">
<summary>
Gets or sets the connection string.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleRoleProvider.ConnectionStringName">
<summary>
Gets or sets the name associated to the connection string when stored in the configuration manager.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleRoleProvider.UserTableName">
<summary>
Gets the name of the table storing user information.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleRoleProvider.UserIdColumn">
<summary>
Gets the name of the column storing the user ids.
</summary>
</member>
<member name="P:MySql.Web.Security.MySqlSimpleRoleProvider.UserNameColumn">
<summary>
Gets the name of the column storing the user names.
</summary>
</member>
<member name="T:MySql.Web.Personalization.MySqlPersonalizationProvider">
<summary>
Implementation for Personalization Provider to use web parts in ASP.NET websites.
</summary>
</member>
<member name="P:MySql.Web.Personalization.MySqlPersonalizationProvider.ApplicationName">
<summary>
Gets or sets the application name.
</summary>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>
Initializes settings values for Personalization Provider.
</summary>
<param name="name">The name of the provider.</param>
<param name="config">A named value collection representing the configurations for this provider.</param>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.FindState(System.Web.UI.WebControls.WebParts.PersonalizationScope,System.Web.UI.WebControls.WebParts.PersonalizationStateQuery,System.Int32,System.Int32,System.Int32@)">
<summary>
Returns a collection of PersonalizationStateInfo objects containing administrative information regarding records in the database that match the specified criteria.
</summary>
<param name="scope">The personalization scope.</param>
<param name="query">The set of query parameters.</param>
<param name="pageIndex">The index of the page.</param>
<param name="pageSize">The size of the page.</param>
<param name="totalRecords">The total number of records to return.</param>
<remarks>For example, records corresponding to users named Jeff* that have been modified since January 1, 2005. Wildcard support is provider-dependent.</remarks>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.GetCountOfState(System.Web.UI.WebControls.WebParts.PersonalizationScope,System.Web.UI.WebControls.WebParts.PersonalizationStateQuery)">
<summary>
Returns the number of records in the database that match the specified criteria.
</summary>
<param name="scope">The personalization scope.</param>
<param name="query">The set of query parameters.</param>
<remarks>For example, records corresponding to users named Jeff* that haven't been modified since January 1, 2005. Wildcard support is provider-dependent.</remarks>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.LoadPersonalizationBlobs(System.Web.UI.WebControls.WebParts.WebPartManager,System.String,System.String,System.Byte[]@,System.Byte[]@)">
<summary>
Retrieves personalization state as opaque blobs from the data source.
</summary>
<param name="webPartManager">The web part manager.</param>
<param name="path">The path indicating where to save the data.</param>
<param name="userName">The user name.</param>
<param name="sharedDataBlob">A byte array containing the user shared data to loaded.</param>
<param name="userDataBlob">A byte array containing the user data to be loaded.</param>
<remarks>Retrieves both shared and user personalization state corresponding to a specified user and a specified page.</remarks>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.ResetPersonalizationBlob(System.Web.UI.WebControls.WebParts.WebPartManager,System.String,System.String)">
<summary>
Deletes personalization state corresponding to a specified user and a specified page from the database.
</summary>
<param name="webPartManager">The web part manager.</param>
<param name="path">The path indicating where to save the data.</param>
<param name="userName">The user name.</param>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.ResetState(System.Web.UI.WebControls.WebParts.PersonalizationScope,System.String[],System.String[])">
<summary>
Deletes personalization state corresponding to the specified users and specified pages from the database.
</summary>
<param name="scope">The personalization scope.</param>
<param name="paths">The paths indicating where to save the data.</param>
<param name="usernames">The user names.</param>
<returns></returns>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.ResetUserState(System.String,System.DateTime)">
<summary>
Deletes user personalization state corresponding to the specified pages and that hasn't been updated since a specified date from the database.
</summary>
<param name="path">The path indicating where to retrieve the user state from.</param>
<param name="userInactiveSinceDate">A time and date indicating since when the user has been inactive.</param>
<returns></returns>
</member>
<member name="M:MySql.Web.Personalization.MySqlPersonalizationProvider.SavePersonalizationBlob(System.Web.UI.WebControls.WebParts.WebPartManager,System.String,System.String,System.Byte[])">
<summary>
Writes personalization state corresponding to a specified user and a specified page as an opaque blob to the database.
</summary>
<param name="webPartManager">The web part manager.</param>
<param name="path">The path indicating where to save the data.</param>
<param name="userName">The user name.</param>
<param name="dataBlob">A byte array containing the data to be saved.</param>
<remarks>If userName is <c>null</c>, then the personalization state is shared state and is not keyed by user name.</remarks>
</member>
<member name="M:MySql.Web.Personalization.PersonalizationProviderProcedures.myaspnet_PersonalizationAdministration_FindState(System.Boolean,System.Int64,System.String,System.Int32,System.Int32,System.String,System.String,System.DateTime,MySql.Web.MySQLPersonalizationConnectionHelper,MySql.Data.MySqlClient.MySqlCommand@)">
<summary>
Retrieves profile data from my_aspnet_PersonalizationAllUsers or my_aspnet_PersonalizationPerUser meeting several input criteria.
</summary>
</member>
<member name="M:MySql.Web.Personalization.PersonalizationProviderProcedures.my_aspnet_PersonalizationPerUser_SetPageSettings(System.Int64,System.String,System.String,System.Byte[],System.DateTime,MySql.Web.MySQLPersonalizationConnectionHelper)">
<summary>
Saves per-user state for the specified page and the specified user in the my_aspnet_PersonalizationPerUser table.
</summary>
<returns></returns>
</member>
<member name="M:MySql.Web.Personalization.PersonalizationProviderProcedures.my_aspnet_PersonalizationAllUsers_SetPageSettings(System.Int64,System.String,System.Byte[],System.DateTime,MySql.Web.MySQLPersonalizationConnectionHelper)">
<summary>
Saves shared state for the specified page in the aspnet_PersonalizationAllUsers table
</summary>
<returns></returns>
</member>
<member name="T:MySql.Web.Profile.MySQLProfileProvider">
<summary>
Manages storage of profile information for an ASP.NET application in a MySQL database.
</summary>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>
Initializes the provider.
</summary>
<param name="name">The friendly name of the provider.</param>
<param name="config">A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.</param>
<exception cref="T:System.ArgumentNullException">The name of the provider is null.</exception>
<exception cref="T:System.ArgumentException">The name of the provider has a length of zero.</exception>
<exception cref="T:System.InvalidOperationException">An attempt is made to call <see cref="M:System.Configuration.Provider.ProviderBase.Initialize(System.String,System.Collections.Specialized.NameValueCollection)"/> on a provider after the provider has already been initialized.</exception>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.DeleteInactiveProfiles(System.Web.Profile.ProfileAuthenticationOption,System.DateTime)">
<summary>
When overridden in a derived class, deletes all user-profile data
for profiles in which the last activity date occurred before the
specified date.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/>
values, specifying whether anonymous, authenticated, or both
types of profiles are deleted.</param>
<param name="userInactiveSinceDate">A <see cref="T:System.DateTime"/>
that identifies which user profiles are considered inactive. If the
<see cref="P:System.Web.Profile.ProfileInfo.LastActivityDate"/>
value of a user profile occurs on or before this date and time, the
profile is considered inactive.</param>
<returns>
The number of profiles deleted from the data source.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.DeleteProfiles(System.String[])">
<summary>
When overridden in a derived class, deletes profile properties
and information for profiles that match the supplied list of user names.
</summary>
<param name="usernames">A string array of user names for
profiles to be deleted.</param>
<returns>
The number of profiles deleted from the data source.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.DeleteProfiles(System.Web.Profile.ProfileInfoCollection)">
<summary>
When overridden in a derived class, deletes profile properties
and information for the supplied list of profiles.
</summary>
<param name="profiles">A
<see cref="T:System.Web.Profile.ProfileInfoCollection"/> of
information about profiles that are to be deleted.</param>
<returns>
The number of profiles deleted from the data source.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.FindInactiveProfilesByUserName(System.Web.Profile.ProfileAuthenticationOption,System.String,System.DateTime,System.Int32,System.Int32,System.Int32@)">
<summary>
When overridden in a derived class, retrieves profile information
for profiles in which the last activity date occurred on or before
the specified date and the user name matches the specified user name.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/> values,
specifying whether anonymous, authenticated, or both types of profiles
are returned.</param>
<param name="usernameToMatch">The user name to search for.</param>
<param name="userInactiveSinceDate">A <see cref="T:System.DateTime"/>
that identifies which user profiles are considered inactive. If the
<see cref="P:System.Web.Profile.ProfileInfo.LastActivityDate"/> value
of a user profile occurs on or before this date and time, the profile
is considered inactive.</param>
<param name="pageIndex">The index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the total
number of profiles.</param>
<returns>
A <see cref="T:System.Web.Profile.ProfileInfoCollection"/> containing
user profile information for inactive profiles where the user name
matches the supplied <paramref name="usernameToMatch"/> parameter.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.FindProfilesByUserName(System.Web.Profile.ProfileAuthenticationOption,System.String,System.Int32,System.Int32,System.Int32@)">
<summary>
When overridden in a derived class, retrieves profile information
for profiles in which the user name matches the specified user names.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/> values,
specifying whether anonymous, authenticated, or both types of profiles
are returned.</param>
<param name="usernameToMatch">The user name to search for.</param>
<param name="pageIndex">The index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the total
number of profiles.</param>
<returns>
A <see cref="T:System.Web.Profile.ProfileInfoCollection"/> containing
user-profile information for profiles where the user name matches the
supplied <paramref name="usernameToMatch"/> parameter.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.GetAllInactiveProfiles(System.Web.Profile.ProfileAuthenticationOption,System.DateTime,System.Int32,System.Int32,System.Int32@)">
<summary>
When overridden in a derived class, retrieves user-profile data
from the data source for profiles in which the last activity date
occurred on or before the specified date.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/> values,
specifying whether anonymous, authenticated, or both types of profiles
are returned.</param>
<param name="userInactiveSinceDate">A <see cref="T:System.DateTime"/>
that identifies which user profiles are considered inactive. If the
<see cref="P:System.Web.Profile.ProfileInfo.LastActivityDate"/> of
a user profile occurs on or before this date and time, the profile is
considered inactive.</param>
<param name="pageIndex">The index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the
total number of profiles.</param>
<returns>
A <see cref="T:System.Web.Profile.ProfileInfoCollection"/> containing user-profile information about the inactive profiles.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.GetAllProfiles(System.Web.Profile.ProfileAuthenticationOption,System.Int32,System.Int32,System.Int32@)">
<summary>
When overridden in a derived class, retrieves user profile data for
all profiles in the data source.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/> values,
specifying whether anonymous, authenticated, or both types of profiles
are returned.</param>
<param name="pageIndex">The index of the page of results to return.</param>
<param name="pageSize">The size of the page of results to return.</param>
<param name="totalRecords">When this method returns, contains the
total number of profiles.</param>
<returns>
A <see cref="T:System.Web.Profile.ProfileInfoCollection"/> containing
user-profile information for all profiles in the data source.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.GetNumberOfInactiveProfiles(System.Web.Profile.ProfileAuthenticationOption,System.DateTime)">
<summary>
When overridden in a derived class, returns the number of profiles
in which the last activity date occurred on or before the specified
date.
</summary>
<param name="authenticationOption">One of the
<see cref="T:System.Web.Profile.ProfileAuthenticationOption"/> values,
specifying whether anonymous, authenticated, or both types of profiles
are returned.</param>
<param name="userInactiveSinceDate">A <see cref="T:System.DateTime"/>
that identifies which user profiles are considered inactive. If the
<see cref="P:System.Web.Profile.ProfileInfo.LastActivityDate"/> of
a user profile occurs on or before this date and time, the profile
is considered inactive.</param>
<returns>
The number of profiles in which the last activity date occurred on
or before the specified date.
</returns>
</member>
<member name="P:MySql.Web.Profile.MySQLProfileProvider.ApplicationName">
<summary>
Gets or sets the name of the currently running application.
</summary>
<value></value>
<returns>A <see cref="T:System.String"/> that contains the application's shortened name, which does not contain a full path or extension, for example, SimpleAppSettings.</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.GetPropertyValues(System.Configuration.SettingsContext,System.Configuration.SettingsPropertyCollection)">
<summary>
Returns the collection of settings property values for the specified application instance and settings property group.
</summary>
<param name="context">A <see cref="T:System.Configuration.SettingsContext"/> describing the current application use.</param>
<param name="collection">A <see cref="T:System.Configuration.SettingsPropertyCollection"/> containing the settings property group whose values are to be retrieved.</param>
<returns>
A <see cref="T:System.Configuration.SettingsPropertyValueCollection"/> containing the values for the specified settings property group.
</returns>
</member>
<member name="M:MySql.Web.Profile.MySQLProfileProvider.SetPropertyValues(System.Configuration.SettingsContext,System.Configuration.SettingsPropertyValueCollection)">
<summary>
Sets the values of the specified group of property settings.
</summary>
<param name="context">A <see cref="T:System.Configuration.SettingsContext"/> describing the current application usage.</param>
<param name="collection">A <see cref="T:System.Configuration.SettingsPropertyValueCollection"/> representing the group of property settings to set.</param>
</member>
<member name="T:MySql.Web.Properties.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.CannotDeleteAPopulatedRole">
<summary>
Looks up a localized string similar to Cannot delete a populated role..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.CannotRetrieveHashedPasswords">
<summary>
Looks up a localized string similar to Setting EnablePasswordRetrieval to true when PasswordFormat is Hashed is not supported..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.CannotSpecifyNameAndConnectionString">
<summary>
Looks up a localized string similar to You cannot specify both a connection string name and a connection string..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.CannotUnencodeHashedPwd">
<summary>
Looks up a localized string similar to Cannot unencode a hashed password..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ChangePasswordCanceled">
<summary>
Looks up a localized string similar to Change password operation was canceled..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ClearPassTokenFailed">
<summary>
Looks up a localized string similar to Failed to clear the token for the userid {0} in the table {1} after password update..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.CreateRoleFailed">
<summary>
Looks up a localized string similar to An unexpected error occurred while creating the role &apos;{0}&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.DeleteOAuthAccountFailed">
<summary>
Looks up a localized string similar to Failed to delete OAuth Account, combination of provider &apos;{0}&apos; and provider user id &apos;{1}&apos; not found..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ErrorInitOfMembershipProvider">
<summary>
Looks up a localized string similar to There was an error during membership provider initilization..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ErrorInitOfRoleProvider">
<summary>
Looks up a localized string similar to There was an error during role provider initilization..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ErrorInitProfileProvider">
<summary>
Looks up a localized string similar to There was an error during profile provider initilization..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ErrorResettingPassword">
<summary>
Looks up a localized string similar to There was an error resetting the password..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.GeneratePassVerificationTokenFailed">
<summary>
Looks up a localized string similar to Failed to generates the PasswordVerificationToken, update not performed to Database..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.IllegalRoleName">
<summary>
Looks up a localized string similar to Role names must not be null or empty..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.IllegalUserName">
<summary>
Looks up a localized string similar to User names must not be null or empty..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.IncorrectPasswordAnswer">
<summary>
Looks up a localized string similar to Incorrect password answer..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.InvalidArgument">
<summary>
Looks up a localized string similar to Please provide a valid value: value provided is null or empty..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.InvalidArrayValue">
<summary>
Looks up a localized string similar to Some of the values in the arrays received are null or empty, please verify it..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.InvalidCharactersInUserName">
<summary>
Looks up a localized string similar to Invalid characters in user name..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.InvalidUser">
<summary>
Looks up a localized string similar to User {0} not found in the table {1}..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.MissingOrWrongSchema">
<summary>
Looks up a localized string similar to Unable to initialize provider. Missing or incorrect schema..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.MonoDoesNotSupportHash">
<summary>
Looks up a localized string similar to The mono runtime did not support hashed passwords. Please use clear or encrypted passwords..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.NewPasswordValidationFailed">
<summary>
Looks up a localized string similar to Change password canceled due to New password validation failure..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.NoConnString">
<summary>
Looks up a localized string similar to There is no connection string configured..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.NotEnoughNonAlphaNumericInPwd">
<summary>
Looks up a localized string similar to Non alpha numeric characters in &apos;{0}&apos; needs to be greater than or equal to &apos;{1}&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordAnswerInvalid">
<summary>
Looks up a localized string similar to Password answer supplied is invalid..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordExceedsMaxLength">
<summary>
Looks up a localized string similar to Password exceeds maximum length allowed..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordFormatNotSupported">
<summary>
Looks up a localized string similar to Password format not supported..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordNotLongEnough">
<summary>
Looks up a localized string similar to The length of parameter &apos;{0}&apos; needs to be greater or equal to &apos;{1}&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordQuestionInvalid">
<summary>
Looks up a localized string similar to Password question supplied is invalid..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordRequiredForReset">
<summary>
Looks up a localized string similar to Password answer required for password reset..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordResetCanceledNotValid">
<summary>
Looks up a localized string similar to Reset password canceled due to password validation failure..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordResetNotEnabled">
<summary>
Looks up a localized string similar to Password Reset is not enabled..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PasswordRetrievalNotEnabled">
<summary>
Looks up a localized string similar to Password Retrieval Not Enabled..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.PreviousProviderException">
<summary>
Looks up a localized string similar to MySqlSimpleMembershipProvider is already initialized and its schema does not match the MySqlMembershipProvider schema..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ProfileUpdateFailed">
<summary>
Looks up a localized string similar to Profile update failed..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.RoleAlreadyExists">
<summary>
Looks up a localized string similar to The role &apos;{0}&apos; already exists..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.RoleInUse">
<summary>
Looks up a localized string similar to The role &apos;{0}&apos; is in use..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.RoleNameAlreadyExists">
<summary>
Looks up a localized string similar to Role name already exists..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.RoleNameNotFound">
<summary>
Looks up a localized string similar to Role name not found..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.SaveTokenFailed">
<summary>
Looks up a localized string similar to Failed to save the request token secret value &apos;{0}&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.SimpleMembershipAlreadyInitialized">
<summary>
Looks up a localized string similar to The MySqlSimpleMembershipProvider is already initialized..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.SimpleMembershipNotInitialized">
<summary>
Looks up a localized string similar to The membership provider was not initialized, it must be initialized before start using it..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.SimpleRoleAlreadyInitialized">
<summary>
Looks up a localized string similar to The MySqlSimpleRoleProvider is already initialized..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.SiteMapConnectionStringMissing">
<summary>
Looks up a localized string similar to The connection string name is missing for the MySqlSiteMapProvider.
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnableToCreateApplication">
<summary>
Looks up a localized string similar to Unable to create application..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnableToCreateUser">
<summary>
Looks up a localized string similar to Unable to create user..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnableToLockOutUser">
<summary>
Looks up a localized string similar to Unable to lock out user..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnableToRetrieveProfileData">
<summary>
Looks up a localized string similar to Unable to retrieve profile data from database..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnableToUpdateFailureCount">
<summary>
Looks up a localized string similar to Unable to update failure count. Membership database may be corrupt..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UnsupportedPasswordFormat">
<summary>
Looks up a localized string similar to Unsupported password format..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UpdateTokenFailed">
<summary>
Looks up a localized string similar to Failed to update the request token secret value &apos;{0}&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserAlreadyExists">
<summary>
Looks up a localized string similar to User {0} already exists..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserIdColumnNotInitialized">
<summary>
Looks up a localized string similar to UserIdColumn configuration was not initialized..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserIsAlreadyInRole">
<summary>
Looks up a localized string similar to User is already in role..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserIsLockedOut">
<summary>
Looks up a localized string similar to The supplied user is locked out..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserNameColumnNotInitialized">
<summary>
Looks up a localized string similar to UserNameColumn configuration was not initialized..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UsernameNotFound">
<summary>
Looks up a localized string similar to Username not found..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserNotFound">
<summary>
Looks up a localized string similar to User not found int the table {0}..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserNotInRole">
<summary>
Looks up a localized string similar to User not in role..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserTableNameNotInitilized">
<summary>
Looks up a localized string similar to UserTableName configuration was not initialized..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.UserTableNotFound">
<summary>
Looks up a localized string similar to Unable to find the table users {0}. Please create it or initialize the MySqlSimpleMembershipProvider with &apos;createTables=true&apos;..
</summary>
</member>
<member name="P:MySql.Web.Properties.Resources.ValidatePasswordCanceled">
<summary>
Looks up a localized string similar to The validate password operation was canceled..
</summary>
</member>
<member name="T:MySql.Web.Common.SchemaManager">
<summary>
Provided methods that allow managing a database.
</summary>
</member>
<member name="P:MySql.Web.Common.SchemaManager.Version">
<summary>
Gets the most recent version of the schema.
</summary>
<value>The most recent version number of the schema.</value>
</member>
<member name="M:MySql.Web.Common.SchemaManager.CreateOrFetchUserId(MySql.Data.MySqlClient.MySqlConnection,System.String,System.Int64,System.Boolean)">
<summary>
Creates the or fetch user id.
</summary>
<param name="connection">The connection.</param>
<param name="username">The username.</param>
<param name="applicationId">The application id.</param>
<param name="authenticated">if set to <c>true</c> [authenticated].</param>
<returns></returns>
</member>
<member name="T:MySql.Web.SessionState.MySqlSessionStateStore">
<summary>
This class allows ASP.NET applications to store and manage session state information in a
MySQL database.
Expired session data is periodically deleted from the database.
</summary>
</member>
<member name="P:MySql.Web.SessionState.MySqlSessionStateStore.EnableExpireCallback">
<summary>
Indicates whether if expire callback is on or off.
</summary>
</member>
<member name="P:MySql.Web.SessionState.MySqlSessionStateStore.WriteExceptionsToEventLog">
<summary>
Indicates whether to write exceptions to event log.
</summary>
</member>
<member name="P:MySql.Web.SessionState.MySqlSessionStateStore.ApplicationName">
<summary>
The name of the ASP .NET application.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.HandleMySqlException(MySql.Data.MySqlClient.MySqlException,System.String)">
<summary>
Handles a MySql type exception.
</summary>
<param name="e">exception</param>
<param name="action"> name of the function that throwed the exception</param>
<remarks>If <see cref="P:MySql.Web.SessionState.MySqlSessionStateStore.WriteExceptionsToEventLog"/> is set it will write exception info to event log.
</remarks>
<exception cref="T:System.Configuration.Provider.ProviderException"><see cref="P:MySql.Web.SessionState.MySqlSessionStateStore.WriteExceptionsToEventLog"/> is <c>false</c>.</exception>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.Initialize(System.String,System.Collections.Specialized.NameValueCollection)">
<summary>
Initializes the provider with the property values specified in the ASP .NET application configuration file.
</summary>
<param name="name">The name of the provider instance to initialize.</param>
<param name="config">Object that contains the names and values of configuration options for the provider.
</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.CreateNewStoreData(System.Web.HttpContext,System.Int32)">
<summary>
Creates a new <see cref="T:System.Web.SessionState.SessionStateStoreData"/> object for the current request.
</summary>
<param name="context">
The HttpContext object for the current request.
</param>
<param name="timeout">
The timeout value (in minutes) for the SessionStateStoreData object that is created.
</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.CreateUninitializedItem(System.Web.HttpContext,System.String,System.Int32)">
<summary>
Adds a new session state item to the database.
</summary>
<param name="context">
The HttpContext object for the current request.
</param>
<param name="id">
The session ID for the current request.
</param>
<param name="timeout">
The timeout value for the current request.
</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.Dispose">
<summary>
Releases all the resources for this instance.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.EndRequest(System.Web.HttpContext)">
<summary>
Allows the <see cref="T:MySql.Web.SessionState.MySqlSessionStateStore"/> object to perform any cleanup that may be
required for the current request.
</summary>
<param name="context">The HttpContext object for the current request.</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.GetItem(System.Web.HttpContext,System.String,System.Boolean@,System.TimeSpan@,System.Object@,System.Web.SessionState.SessionStateActions@)">
<summary>
Returns a read-only session item from the database.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.GetItemExclusive(System.Web.HttpContext,System.String,System.Boolean@,System.TimeSpan@,System.Object@,System.Web.SessionState.SessionStateActions@)">
<summary>
Locks a session item and returns it from the database.
</summary>
<param name="context">The HttpContext object for the current request.</param>
<param name="id">The session ID for the current request.</param>
<param name="locked">
<c>true</c> if the session item is locked in the database; otherwise, <c>false</c>.
</param>
<param name="lockAge">
TimeSpan object that indicates the amount of time the session item has been locked in the database.
</param>
<param name="lockId">
A lock identifier object.
</param>
<param name="actions">
A <see cref="T:System.Web.SessionState.SessionStateActions"/> enumeration value that indicates whether or
not the session is uninitialized and cookieless.
</param>
<returns></returns>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.InitializeRequest(System.Web.HttpContext)">
<summary>
Performs any per-request initializations that the MySqlSessionStateStore provider requires.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.ReleaseItemExclusive(System.Web.HttpContext,System.String,System.Object)">
<summary>
Forcibly releases the lock on a session item in the database if multiple attempts to
retrieve the session item fail.
</summary>
<param name="context">The HttpContext object for the current request.</param>
<param name="id">The session ID for the current request.</param>
<param name="lockId">The lock identifier for the current request.</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.RemoveItem(System.Web.HttpContext,System.String,System.Object,System.Web.SessionState.SessionStateStoreData)">
<summary>
Removes the specified session item from the database
</summary>
<param name="context">The HttpContext object for the current request.</param>
<param name="id">The session ID for the current request.</param>
<param name="lockId">The lock identifier for the current request.</param>
<param name="item">The session item to remove from the database.</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.ResetItemTimeout(System.Web.HttpContext,System.String)">
<summary>
Resets the expiration date and timeout for a session item in the database.
</summary>
<param name="context">The HttpContext object for the current request.</param>
<param name="id">The session ID for the current request.</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.SetAndReleaseItemExclusive(System.Web.HttpContext,System.String,System.Web.SessionState.SessionStateStoreData,System.Object,System.Boolean)">
<summary>
Updates the session time information in the database with the specified session item,
and releases the lock.
</summary>
<param name="context">The HttpContext object for the current request.</param>
<param name="id">The session ID for the current request.</param>
<param name="item">The session item containing new values to update the session item in the database with.
</param>
<param name="lockId">The lock identifier for the current request.</param>
<param name="newItem">A Boolean value that indicates whether or not the session item is new in the database.
A false value indicates an existing item.
</param>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.GetSessionStoreItem(System.Boolean,System.Web.HttpContext,System.String,System.Boolean@,System.TimeSpan@,System.Object@,System.Web.SessionState.SessionStateActions@)">
<summary>
GetSessionStoreItem is called by both the GetItem and GetItemExclusive methods. GetSessionStoreItem
retrieves the session data from the data source. If the lockRecord parameter is true (in the case of
GetItemExclusive), then GetSessionStoreItem locks the record and sets a New LockId and LockDate.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.SetItemExpireCallback(System.Web.SessionState.SessionStateItemExpireCallback)">
<summary>
Sets the reference for the ExpireCallback delegate if setting is enabled.
</summary>
<param name="expireCallback"></param>
<returns><c>true</c> if <see cref="F:MySql.Web.SessionState.MySqlSessionStateStore.enableExpireCallback"/> is <c>true</c>; otherwise, <c>false</c>.</returns>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.Serialize(System.Web.SessionState.SessionStateItemCollection)">
<summary>
Serialize is called by the SetAndReleaseItemExclusive method to
convert the SessionStateItemCollection into a byte array to
be stored in the blob field.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.Deserialize(System.Web.HttpContext,System.Byte[],System.Int32)">
<summary>
Deserialize is called by the GetSessionStoreItem method to
convert the byte array stored in the blob field to a
SessionStateItemCollection.
</summary>
</member>
<member name="M:MySql.Web.SessionState.MySqlSessionStateStore.CheckStorageEngine(MySql.Data.MySqlClient.MySqlConnection)">
<summary>
Checks storage engine used by my_aspnet_sessions.
</summary>
<param name="con">The connection object used to check the storage engine.</param>
<remarks>Warn if MyISAM is used - it does not handle concurrent updates well
which is important for session provider, as each access to session
does an update to "expires" field.</remarks>
</member>
<member name="T:MySql.Web.SiteMap.MySqlSiteMapProvider">
<summary>
SiteMap provider backed by MySql database.
</summary>
</member>
<member name="M:MySql.Web.SiteMap.MySqlSiteMapProvider.HandleMySqlException(MySql.Data.MySqlClient.MySqlException,System.String)">
<summary>
Handles MySql exception.
If WriteExceptionsToEventLog is set, will write exception info
to event log.
It throws provider exception (original exception is stored as inner exception)
</summary>
<param name="e">exception</param>
<param name="action"> name of the function that throwed the exception</param>
</member>
</members>
</doc>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment