In this state there is no common law in any case in which the law is declared by the code.
N.D.C.C. § 1-01-06