In thermal equilibrium, the mass action law states that $$n_{h}n_{e}=n_{i}^{2},$$ where \$n_{h}\$ is the equilibrium concentration of holes and which equals to the equilibrium concentration of conduction electrons \$n_{e}\$ $$n_{h}=n_{e}=n_{i}.$$
After doping, for example with electrons donor, arsenic for example, we would have $$ N_{D}>>n_{e}$$
After doping, do we still have a thermodynamic equilibrium?