예제 #1
0
 /// <summary>
 /// 更新流水当前信息
 /// </summary>
 /// <param name="dbfactory">连接数据库对象</param>
 /// <param name="tb">实体</param>
 /// <returns></returns>
 public bool UpdateSerialTb(DBFactoryEntity.DBFactory dbfactory, sysserialtb tb)
 {
     return(dbfactory.Update(dbfactory.Connection(), dbfactory.Transaction(), tb) == 1);
 }
예제 #2
0
 /// <summary>
 /// 添加流水当前信息
 /// </summary>
 /// <param name="dbfactory">连接数据库对象</param>
 /// <param name="tb">实体</param>
 /// <returns></returns>
 public bool InsertSerialTb(DBFactoryEntity.DBFactory dbfactory, sysserialtb tb)
 {
     return(dbfactory.Insert(dbfactory.Connection(), dbfactory.Transaction(), tb));
 }