public bool DeleteSupplierPriceDetailById(int supplierPriceDetailId) { SqlParameter[] param = new SqlParameter[] { new SqlParameter("@Id", supplierPriceDetailId) }; return(m_dbo.DeleteAt("SupplierPriceListDetail", param)); }
public bool Delete() { SqlParameter[] param = new SqlParameter[] { new SqlParameter("@Id", m_Id) }; return(m_dbo.DeleteAt("GoodsStandingInventory", param)); }
public bool Delete() { DBOperate dbOperate = new DBOperate(); if (m_Id > 0) { SqlParameter[] param = new SqlParameter[] { new SqlParameter("Id", m_Id) }; return(dbOperate.DeleteAt("News", param)); } else { return(false); } }