private void button1_Click(object sender, EventArgs e) { PersonaDB db = new PersonaDB(); Personas persona = new Personas(); persona.PersonaId = 15; persona.Nombre = "Lewis gabin"; db.Persona.Add(persona); db.SaveChanges(); MessageBox.Show("se guardo"); }
private static PersonaDB DownloadCDO() { file = JsonConvert.DeserializeObject <PersonaDB>(Encoding.UTF8.GetString(EncompassApplication.Session.DataExchange.GetCustomDataObject(acctExec).Data)); return(file); }