public override void Edit(FornecedorFisico obj) { _fisicoContext.Entry(obj).State = EntityState.Modified; _fisicoContext.Entry(obj).Property(x => x.EmpresaId).IsModified = false; }
public virtual void Edit(TEntity obj) { _repositoryBase.Entry(obj).State = EntityState.Modified; }