public void Insert(string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn) { AprDiagnosticoControlOdontologico item = new AprDiagnosticoControlOdontologico(); item.Nombre = Nombre; item.CreatedBy = CreatedBy; item.CreatedOn = CreatedOn; item.ModifiedBy = ModifiedBy; item.ModifiedOn = ModifiedOn; item.Save(UserName); }
public void Update(int IdDiagnosticoControlOdontologico, string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn) { AprDiagnosticoControlOdontologico item = new AprDiagnosticoControlOdontologico(); item.MarkOld(); item.IsLoaded = true; item.IdDiagnosticoControlOdontologico = IdDiagnosticoControlOdontologico; item.Nombre = Nombre; item.CreatedBy = CreatedBy; item.CreatedOn = CreatedOn; item.ModifiedBy = ModifiedBy; item.ModifiedOn = ModifiedOn; item.Save(UserName); }
public bool Destroy(object IdDiagnosticoControlOdontologico) { return(AprDiagnosticoControlOdontologico.Destroy(IdDiagnosticoControlOdontologico) == 1); }