/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <NoName.NetShop.Model.AuctionLogModel> GetModelList(string strWhere)
        {
            DataSet ds = dal.GetList(strWhere);
            List <NoName.NetShop.Model.AuctionLogModel> modelList = new List <NoName.NetShop.Model.AuctionLogModel>();
            int rowsCount = ds.Tables[0].Rows.Count;

            if (rowsCount > 0)
            {
                NoName.NetShop.Model.AuctionLogModel model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new NoName.NetShop.Model.AuctionLogModel();
                    if (ds.Tables[0].Rows[n]["AuctionId"].ToString() != "")
                    {
                        model.AuctionId = int.Parse(ds.Tables[0].Rows[n]["AuctionId"].ToString());
                    }
                    model.UserName = ds.Tables[0].Rows[n]["UserName"].ToString();
                    if (ds.Tables[0].Rows[n]["AuctionTime"].ToString() != "")
                    {
                        model.AuctionTime = DateTime.Parse(ds.Tables[0].Rows[n]["AuctionTime"].ToString());
                    }
                    if (ds.Tables[0].Rows[n]["AutionPrice"].ToString() != "")
                    {
                        model.AutionPrice = decimal.Parse(ds.Tables[0].Rows[n]["AutionPrice"].ToString());
                    }
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public void Add(NoName.NetShop.Model.AuctionLogModel model)
 {
     dal.Add(model);
 }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(NoName.NetShop.Model.AuctionLogModel model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// ��������б�
 /// </summary>
 public List<NoName.NetShop.Model.AuctionLogModel> GetModelList(string strWhere)
 {
     DataSet ds = dal.GetList(strWhere);
     List<NoName.NetShop.Model.AuctionLogModel> modelList = new List<NoName.NetShop.Model.AuctionLogModel>();
     int rowsCount = ds.Tables[0].Rows.Count;
     if (rowsCount > 0)
     {
         NoName.NetShop.Model.AuctionLogModel model;
         for (int n = 0; n < rowsCount; n++)
         {
             model = new NoName.NetShop.Model.AuctionLogModel();
             if(ds.Tables[0].Rows[n]["AuctionId"].ToString()!="")
             {
                 model.AuctionId=int.Parse(ds.Tables[0].Rows[n]["AuctionId"].ToString());
             }
             model.UserName=ds.Tables[0].Rows[n]["UserName"].ToString();
             if(ds.Tables[0].Rows[n]["AuctionTime"].ToString()!="")
             {
                 model.AuctionTime=DateTime.Parse(ds.Tables[0].Rows[n]["AuctionTime"].ToString());
             }
             if(ds.Tables[0].Rows[n]["AutionPrice"].ToString()!="")
             {
                 model.AutionPrice=decimal.Parse(ds.Tables[0].Rows[n]["AutionPrice"].ToString());
             }
             modelList.Add(model);
         }
     }
     return modelList;
 }