public int Adds(M_OrderList model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
//--------------------------------------------UPDATE public bool UpdateByID(M_OrderList model) { return(Sql.UpdateByIDs(TbName, PK, model.id.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
public bool Add(M_OrderList model) { Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)); return(true); }