Beispiel #1
0
 /// <summary>
 /// 添加总表
 /// </summary>
 /// <param name="u"></param>
 /// <returns></returns>
 public int AddTotal(DT_Total t)
 {
     return(ef.Add(t));
 }
Beispiel #2
0
 /// <summary>
 /// 修改总表
 /// </summary>
 /// <param name="u"></param>
 /// <returns></returns>
 public int UpdTotal(DT_Total t)
 {
     return(ef.Update(t));
 }
Beispiel #3
0
 /// <summary>
 /// 查询总表
 /// </summary>
 /// <param name="t"></param>
 /// <returns></returns>
 public List <DT_Total> SelectTotal(DT_Total t)
 {
     return(ef.Select <DT_Total>().ToList());
 }