Beispiel #1
0
        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");
        }
Beispiel #2
0
 private static PersonaDB DownloadCDO()
 {
     file = JsonConvert.DeserializeObject <PersonaDB>(Encoding.UTF8.GetString(EncompassApplication.Session.DataExchange.GetCustomDataObject(acctExec).Data));
     return(file);
 }