Which is better a line of credit or equity loan for 2000000?

Both are often used. You do want to be sure that if it is being secured with a home that the interest on the loan is tax deductable.