Esempio n. 1
0
        public long SaveOrder(S_Order entity)
        {
            if (entity.ID == 0)
            {
                #region 维护新增数据

                #endregion
            }
            else
            {
                #region 维护修改数据

                #endregion
            }

            var r = entity.Save();
            return r;
        }
Esempio n. 2
0
 public long DeleteOrder(S_Order entity)
 {
     return entity.Delete();
 }