private void button1_Click(object sender, EventArgs e) { entity = new ManufacturersEntity(); entity.Address = textBoxAddress.Text; entity.CheckingAccount = textBoxCheckingAccount.Text; entity.Phone = textBoxPhone.Text; entity.Title = textBoxTitle.Text; ApplicationLogic.Insert(ApplicationLogic.Tables.Manufacturers, entity); }