Exemple #1
0
 public bool Add(TableInfo ti)
 {
     return(dal.Insert(ti) > 0);
 }
Exemple #2
0
 public bool Insert(TableInfo ti)
 {
     return(tiDal.Insert(ti) > 0);
 }
 /// <summary>
 /// 增
 /// </summary>
 /// <param name="entity">要插入的数据数据对象</param>
 /// <returns></returns>
 public bool Insert(TableInfo entity)
 {
     return(tableInfoDal.Insert(entity));
 }