Proceedings in the way of civil action in the district courts may be commenced and maintained to enforce the lien herein provided, which proceedings may embrace one or more parcels of land, or one or more landowners, or reputed landowners; and except as otherwise provided herein, the provisions of the Idaho laws relating to civil actions, new trials and appeals, are applicable to and constitute the rules of practice in proceedings under this chapter; and except as otherwise provided, the nature and effect of a judgment of foreclosure shall be the same as the foreclosure of a first real estate mortgage: provided, that the sale of such land under foreclosure shall pass to the purchaser, all ditch and water rights appurtenant thereto, and the interests, including corporate stock, of the owner or holder of such land in such corporation, company or association.
Idaho Code § 42-2207