Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public bool Destroy(object IdFactorProtector)
 {
     return(AprFactorProtector.Destroy(IdFactorProtector) == 1);
 }
Esempio n. 4
0
 public bool Delete(object IdFactorProtector)
 {
     return(AprFactorProtector.Delete(IdFactorProtector) == 1);
 }