public static FarmerMasterCollection GetByName(string HOTEL_NAME)
        {
            FarmerMasterCollection obj = new FarmerMasterCollection();

            obj.MapObjects(new FarmerMasterDataService().FarmerMaster_GetByName(HOTEL_NAME));
            return(obj);
        }
        public static FarmerMasterCollection GetAllById(int HOTEL_ID)
        {
            FarmerMasterCollection obj = new FarmerMasterCollection();

            obj.MapObjects(new FarmerMasterDataService().FarmerMaster_GetById(HOTEL_ID));
            return(obj);
        }
        public static FarmerMasterCollection GetAll()
        {
            FarmerMasterCollection obj = new FarmerMasterCollection();

            obj.MapObjects(new FarmerMasterDataService().FarmerMaster_GetAll());
            return(obj);
        }