Exemplo n.º 1
0
 ///
 ///原函数
 ///
 //public int Add(int UsId, string UsName, string Notes)
 //{
 //    return dal.Add(0, 0, UsId, UsName, Notes);
 //}
 ////游戏等插件专用
 //public int Add(int Types, int NodeId, int UsId, string UsName, string Notes)
 //{
 //    return dal.Add(Types, NodeId, UsId, UsName, Notes);
 //}
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(BCW.Model.Action model)
 {
     dal.Update(model);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int Add(BCW.Model.Action model)
 {
     return(dal.Add(model));
 }