private void butTestDelete_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t = new ObjWithIdentityPK(); t.Identity = short.Parse(txtId.Text); PersistDAL.Delete(t); }
private void butInsertIdentity_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t=new ObjWithIdentityPK(); t.Nom=txtValeur.Text; SableFin.SfinX.SimplePersistance.PersistDAL.Insert(t); lblPKidentity.Text=t.Identity.ToString(); }
private void cmdTestRead_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t = new ObjWithIdentityPK(); t.Identity = short.Parse(txtId.Text); SableFin.SfinX.SimplePersistance.PersistDAL.Read(t); txtValeur.Text = t.Nom; }
private void butInsertIdentity_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t = new ObjWithIdentityPK(); t.Nom = txtValeur.Text; SableFin.SfinX.SimplePersistance.PersistDAL.Insert(t); lblPKidentity.Text = t.Identity.ToString(); }
private void butTestUpdate_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t=new ObjWithIdentityPK(); t.Identity=short.Parse(txtId.Text); PersistDAL.Read(t); t.Nom=txtValeur.Text; PersistDAL.Update(t); }
private void butTestUpdate_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t = new ObjWithIdentityPK(); t.Identity = short.Parse(txtId.Text); PersistDAL.Read(t); t.Nom = txtValeur.Text; PersistDAL.Update(t); }
private void cmdTestRead_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t=new ObjWithIdentityPK(); t.Identity=short.Parse(txtId.Text); SableFin.SfinX.SimplePersistance.PersistDAL.Read(t); txtValeur.Text=t.Nom; }
private void butTestDelete_Click(object sender, System.EventArgs e) { ObjWithIdentityPK t=new ObjWithIdentityPK(); t.Identity=short.Parse(txtId.Text); PersistDAL.Delete(t); }