/// <summary>
 /// 判断交易所名称是否已经存在
 /// </summary>
 /// <param name="BourseTypeName">交易所名称</param>
 /// <returns></returns>
 public bool IsExistBourseTypeName(string BourseTypeName)
 {
     try
     {
         var     cMBourseTypeDAL = new CM_BourseTypeDAL();
         string  strWhere        = string.Format("BourseTypeName='{0}'", BourseTypeName);
         DataSet _ds             = cMBourseTypeDAL.GetList(strWhere);
         if (_ds != null)
         {
             if (_ds.Tables[0].Rows.Count == 0)
             {
                 return(true);
             }
             return(false);
         }
         return(false);
     }
     catch (Exception ex)
     {
         string errCode   = "GL-4706";
         string errMsg    = "判断交易所名称是否已经存在失败!";
         var    exception = new VTException(errCode, errMsg, ex);
         LogHelper.WriteError(exception.ToString(), exception.InnerException);
         return(false);
     }
 }
 /// <summary>
 /// 获得数据列表
 /// </summary>
 public DataSet GetList(string strWhere)
 {
     return(cM_BourseTypeDAL.GetList(strWhere));
 }