public void Delete(int id) { try { _logger.QuickLog(DbOperationType.Delete, typeof(E), id); _baseDao.Delete(id); _logger.LogSuccess(() => _baseDao.GetOneById(id) == null); } catch (Exception ex) { _logger.LogError(ex); //throw; } }
public void Delete(Guid Id) { _baseDao.Delete(Id); }
public void Delete(int InventoryID) { _dal.Delete <T_Inventory>(new T_Inventory { InventoryID = InventoryID }, true); }
public void Delete(int ProductPicID) { _dal.Delete <T_ProductPic>(new T_ProductPic { ProductPicID = ProductPicID }, true); }
public bool Delete <T>() { return(baseDao.Delete <T>()); }
/// <summary> /// 删除记录 /// </summary> public int Delete(string tableName) { return(baseDao.Delete(tableName)); }
public void Delete(int ProductFruitsID) { _dal.Delete <C_ProductFruits>(new C_ProductFruits { ProductFruitsID = ProductFruitsID }, true); }
public bool Delete(int id) { return(Instance.Delete(id)); }
public Boolean Delete(T model) { return(baseDao.Delete(model) > 0); }
/// <summary> /// 删除Entity /// </summary> public bool Delete(T t) { return(dao.Delete(t)); }
public void Delete(int FruitPicID) { _dal.Delete <T_FruitPic>(new T_FruitPic { FruitPicID = FruitPicID }, true); }
public void Delete(int StockinID) { _dal.Delete <T_Stockin>(new T_Stockin { StockinID = StockinID }, true); }
public void Delete(int ProductOrdersID) { _dal.Delete <T_ProductOrders>(new T_ProductOrders { ProductOrdersID = ProductOrdersID }, true); }