public void Insert(string Nombre) { SysNivelInstruccion item = new SysNivelInstruccion(); item.Nombre = Nombre; item.Save(UserName); }
public void Update(int IdNivelInstruccion, string Nombre) { SysNivelInstruccion item = new SysNivelInstruccion(); item.MarkOld(); item.IsLoaded = true; item.IdNivelInstruccion = IdNivelInstruccion; item.Nombre = Nombre; item.Save(UserName); }
public bool Destroy(object IdNivelInstruccion) { return(SysNivelInstruccion.Destroy(IdNivelInstruccion) == 1); }