The provisions of Sections 245 and 246, governing the exercise by two or more co-sharers of their rights against a common tenant shall be applicable also to the exercise of such rights against a common thekedar. --