public void InsertIntoDB(JToken house) { HouseDetail hd = new HouseDetail() { houseid = house["houseid"].Value<string>(), dongid = house["dongid"].Value<string>(), newcode = house["newCode"].Value<string>(), projname = house["projname"].Value<string>(), dongname = house["dongname"].Value<string>(), address = house["address"].Value<string>(), room = house["room"].Value<int>(), ting = house["ting"].Value<int>(), wei = house["wei"].Value<int>(), chu = house["chu"].Value<int>(), jianzhumianji = house["jianzhumianji"].Value<float>(), houselocation = house["houselocation"].Value<string>(), district = house["district"].Value<string>(), tehui_price = PriceParse(house["tehui_price"].Value<string>()), price_s = PriceParse(house["price_s"].Value<string>()), price_s_type = house["Price_s_type"].Value<string>(), price_t = PriceParse(house["price_t"].Value<string>()), price_t_type = house["Price_t_type"].Value<string>(), tehui_url = house["tehui_url"].Value<string>() }; db.HouseDetail.InsertOnSubmit(hd); }
partial void DeleteHouseDetail(HouseDetail instance);
partial void UpdateHouseDetail(HouseDetail instance);
partial void InsertHouseDetail(HouseDetail instance);