If you are smart enough to use one of these safely, you are also smart enough to use an extension cord to keep the generator outside and throw the main breaker before backfeeding the main panel thru an outlet.
To do it according to code, you need a transfer switch between the meter and the power panel.