示例#1
0
 public void RegistraUpdate(IPersistenceBase entidade, IUnitOfWorkRepository repository)
 {
     if (!_entidadesUpdate.ContainsKey(entidade))
     {
         _entidadesUpdate.Add(entidade, repository);
     }
 }
示例#2
0
        public void UpdatePersistence(IPersistenceBase entidade)
        {
            TokenRequestorRegistration token = (TokenRequestorRegistration)entidade;

            _context.Attach(token);
            _context.Entry(token).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
            _context.SaveChanges();
        }
示例#3
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();
        }
示例#7
0
 public void InsertPersistence(IPersistenceBase entidade)
 {
     _context.TokenRequestorRegistration.Add((TokenRequestorRegistration)entidade);
     _context.SaveChanges();
 }
示例#8
0
 public void DeletePersistence(IPersistenceBase entidade)
 {
     _context.TokenRequestorRegistration.Remove((TokenRequestorRegistration)entidade);
     _context.SaveChanges();
 }
示例#9
0
 public void InsertPersistence(IPersistenceBase entidade)
 {
     _context.MappingPaymentToken.Add((MappingPaymentToken)entidade);
     _context.SaveChanges();
 }
示例#10
0
 public void DeletePersistence(IPersistenceBase entidade)
 {
     _context.MappingPaymentToken.Remove((MappingPaymentToken)entidade);
     _context.SaveChanges();
 }
 public void InsertPersistence(IPersistenceBase entidade)
 {
     _context.Otpadministration.Add((Otpadministration)entidade);
     _context.SaveChanges();
 }
 public void DeletePersistence(IPersistenceBase entidade)
 {
     _context.Otpadministration.Remove((Otpadministration)entidade);
     _context.SaveChanges();
 }
 public void InsertPersistence(IPersistenceBase entidade)
 {
     _context.TokenServiceProviderConfig.Add((TokenServiceProviderConfig)entidade);
     _context.SaveChanges();
 }
 public void DeletePersistence(IPersistenceBase entidade)
 {
     _context.TokenServiceProviderConfig.Remove((TokenServiceProviderConfig)entidade);
     _context.SaveChanges();
 }