However, ???[a] county in this state is a creature of statute and has no inherent authority[,] . . . [but] only such powers as are expressly conferred upon it by statute and such as may be reasonably implied from those expressly granted.???SDCL 7???18A???2 specifically authorizes a county to adopt ordinances ???as may be proper and necessary to carry into effect the powers granted to it by law . .