/// ///INTERFACE CLASS FOR TABLE t_wmsStockRep ///By wm ///on 08/18/2023 /// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace DeiNiu.wms.Data.Model { [Serializable] public class WmsStockRep : WmsStockRep_base { public WmsStockRep() { } public WmsStockRep(int id): base(id) { } public WmsStockRep(DataRow dr): base(dr) { } public WmsStockRep(string goodsId, int skuId) { this.goodsId = goodsId; this.skuId = skuId; cmdParameters[0] = goodsId; cmdParameters[1] = skuId; getModel(200); } protected override void getImp() { model_imp = new WmsStockRep_Imp(); } //begin cust db operation, query, excute sql etc. public DataSet QueryByName(string name) { cmdParameters[0] = name; return CustQuery(100); } public DataTable getNewData() { return CustQuery(300).Tables[0]; } public void repNews() { CustOper(400); } } }