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