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));
 }
Beispiel #3
0
        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);
            }
        }