示例#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);
        }
示例#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);
        }