public void Insert(string Nombre) { AprFactorRiesgoEstiloVida item = new AprFactorRiesgoEstiloVida(); item.Nombre = Nombre; item.Save(UserName); }
public void Update(int IdFactorRiesgoEstiloVida, string Nombre) { AprFactorRiesgoEstiloVida item = new AprFactorRiesgoEstiloVida(); item.MarkOld(); item.IsLoaded = true; item.IdFactorRiesgoEstiloVida = IdFactorRiesgoEstiloVida; item.Nombre = Nombre; item.Save(UserName); }