Beispiel #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));
        }
Beispiel #2
0
 public static AjaxResult UpdateStreet(RentStreet entity)
 {
     return(DB.UpdateEntity <RentStreet>(entity));
 }
Beispiel #3
0
 public static AjaxResult AddStreet(RentStreet entity)
 {
     return(DB.InsertEntity <RentStreet>(entity));
 }