public FakeBookstoreContext() { var connection = new SqliteConnection("DataSource=:memory:"); connection.Open(); var options = new DbContextOptionsBuilder <BookstoreContext>() .UseSqlite(connection) .Options; m_context = new BookstoreContext(options); m_context.Database.EnsureCreated(); }
protected void Button1_Click(object sender, EventArgs e) { "update testing_mysql.sgipc_latest set username = '******' where email = t1.text"; }
protected void Button1_Click(object sender, EventArgs e) { string sql = ""; sql ="Update sgipc_latest set username='******' where email = '" + t1.Text + "' and password = '******'" ; }