/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <ZQUSR.Model.sr_Periodicals> DataTableToList(DataTable dt)
        {
            List <ZQUSR.Model.sr_Periodicals> modelList = new List <ZQUSR.Model.sr_Periodicals>();
            int rowsCount = dt.Rows.Count;

            if (rowsCount > 0)
            {
                ZQUSR.Model.sr_Periodicals model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new ZQUSR.Model.sr_Periodicals();
                    if (dt.Rows[n]["PK_PID"].ToString() != "")
                    {
                        model.PK_PID = int.Parse(dt.Rows[n]["PK_PID"].ToString());
                    }
                    model.ISSN         = dt.Rows[n]["ISSN"].ToString();
                    model.QikanKey     = dt.Rows[n]["QikanKey"].ToString();
                    model.QikanName    = dt.Rows[n]["QikanName"].ToString();
                    model.QikanEngName = dt.Rows[n]["QikanEngName"].ToString();
                    model.XueKe        = dt.Rows[n]["XueKe"].ToString();
                    if (dt.Rows[n]["QIF"].ToString() != "")
                    {
                        model.QIF = decimal.Parse(dt.Rows[n]["QIF"].ToString());
                    }
                    model.JiBie = dt.Rows[n]["JiBie"].ToString();
                    if (dt.Rows[n]["LevelFactor"].ToString() != "")
                    {
                        model.LevelFactor = decimal.Parse(dt.Rows[n]["LevelFactor"].ToString());
                    }
                    model.Extra1 = dt.Rows[n]["Extra1"].ToString();
                    model.Extra2 = dt.Rows[n]["Extra2"].ToString();
                    model.Extra3 = dt.Rows[n]["Extra3"].ToString();
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// ��������б�
 /// </summary>
 public List<ZQUSR.Model.sr_Periodicals> DataTableToList(DataTable dt)
 {
     List<ZQUSR.Model.sr_Periodicals> modelList = new List<ZQUSR.Model.sr_Periodicals>();
     int rowsCount = dt.Rows.Count;
     if (rowsCount > 0)
     {
         ZQUSR.Model.sr_Periodicals model;
         for (int n = 0; n < rowsCount; n++)
         {
             model = new ZQUSR.Model.sr_Periodicals();
             if(dt.Rows[n]["PK_PID"].ToString()!="")
             {
                 model.PK_PID=int.Parse(dt.Rows[n]["PK_PID"].ToString());
             }
             model.ISSN=dt.Rows[n]["ISSN"].ToString();
             model.QikanKey=dt.Rows[n]["QikanKey"].ToString();
             model.QikanName=dt.Rows[n]["QikanName"].ToString();
             model.QikanEngName=dt.Rows[n]["QikanEngName"].ToString();
             model.XueKe=dt.Rows[n]["XueKe"].ToString();
             if(dt.Rows[n]["QIF"].ToString()!="")
             {
                 model.QIF=decimal.Parse(dt.Rows[n]["QIF"].ToString());
             }
             model.JiBie=dt.Rows[n]["JiBie"].ToString();
             if(dt.Rows[n]["LevelFactor"].ToString()!="")
             {
                 model.LevelFactor=decimal.Parse(dt.Rows[n]["LevelFactor"].ToString());
             }
             model.Extra1=dt.Rows[n]["Extra1"].ToString();
             model.Extra2=dt.Rows[n]["Extra2"].ToString();
             model.Extra3=dt.Rows[n]["Extra3"].ToString();
             modelList.Add(model);
         }
     }
     return modelList;
 }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(ZQUSR.Model.sr_Periodicals model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(ZQUSR.Model.sr_Periodicals model)
 {
     return(dal.Add(model));
 }
 /// <summary>
 /// 是否存在该记录(QikanKey/QikanName)-By Jianguo Fung
 /// </summary>
 public bool Exists(ZQUSR.Model.sr_Periodicals model)
 {
     return(dal.Exists(model));
 }