示例#1
0
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            TokenRequestorRegistration token = (TokenRequestorRegistration)entidade;

            _context.Attach(token);
            _context.Entry(token).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
示例#2
0
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            MappingPaymentToken mpt = (MappingPaymentToken)entidade;

            _context.Attach(mpt);
            _context.Entry(mpt).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            MappingLgpdtoken en = (MappingLgpdtoken)entidade;

            _context.Attach(en);
            _context.Entry(en).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            Otpadministration otp = (Otpadministration)entidade;

            _context.Attach(otp);
            _context.Entry(otp).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            TokenServiceProviderConfig token = (TokenServiceProviderConfig)entidade;

            _context.Attach(token);
            _context.Entry(token).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }