/// <summary>
 /// 新增数据,并返回自增ID
 /// </summary>
 /// <param name="model">实体类</param>
 /// <returns></returns>
 public int InsertIdentity(ShopPayList model)
 {
     return(CreateDao().InsertIdentity(model));
 }
 /// <summary>
 /// 更新数据
 /// </summary>
 /// <param name="model">实体类</param>
 /// <param name="whereString">可选,更新条件</param>
 /// <returns></returns>
 public bool Update(ShopPayList model, string whereString = null)
 {
     return(CreateDao().Update(model, whereString));
 }
 /// <summary>
 /// 新增数据
 /// </summary>
 /// <param name="model">实体类</param>
 /// <returns></returns>
 public bool Insert(ShopPayList model)
 {
     return(CreateDao().Insert(model));
 }