Esempio n. 1
0
        /// <summary>
        /// 增加 街道信息
        /// </summary>
        public static AjaxResult AddStreet(NameValueCollection form)
        {
            var entity = new RentStreet();

            entity.Load(form);
            entity.LDName = form["DistrictName"];
            return(DB.InsertEntity <RentStreet>(entity));
        }
Esempio n. 2
0
 public static AjaxResult UpdateStreet(RentStreet entity)
 {
     return(DB.UpdateEntity <RentStreet>(entity));
 }
Esempio n. 3
0
 public static AjaxResult AddStreet(RentStreet entity)
 {
     return(DB.InsertEntity <RentStreet>(entity));
 }