private void SaveTag() { string msg; IList <NModel.Product> productList = bizProduct.GetListByProvidedModelNumberSupplierNameList(tbxProductList.Text, out msg); ProductTag tag = bizTag.Save(tbxTagName.Text, tbxDescription.Text, productList); lblMsg.Text = "导入产品数量:" + productList.Count; tbxMsg.Text = msg; }
public void GetListByProvidedModelNumberSupplierNameListTest() { string list = @"brighthome BP-811 brighthome BP-823 brighthome BP-852 brighthome BP-227 brighthome BP-BC32 "; string msg; IList <Product> products = bizProduct.GetListByProvidedModelNumberSupplierNameList(list, out msg); }