⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bobusiness.cs

📁 内容管理 内容管理 内容管理 内容管理 内容管理
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DAL
{
   public  class boBusiness
    {
          public DAL.clsDBConnkey  loadkey() 
          {
            
            DAL.clsDBConnkey connKey =new DAL.clsDBConnkey ();
              
            connKey.UserName =System.Configuration.ConfigurationManager.AppSettings["UID"];
            connKey.PassWord = System.Configuration.ConfigurationManager.AppSettings["PWD"];
            connKey.ServerName = System.Configuration.ConfigurationManager.AppSettings["Server"];
            connKey.DatabaseURL = System.Configuration.ConfigurationManager.AppSettings["Database"];
            //connKey.DatabaseURL = System.Configuration.ConfigurationSettings.AppSettings["Database"];
            return connKey;
          }

        public object MakeConnKey(string sql , DAL.executeMethod execMethod )
        {
            DAL.clsDBConnkey connKey2 =new DAL.clsDBConnkey ();
            DAL.MakeConnection makeConn =new DAL.MakeConnection();

            connKey2 = loadkey();
            return makeConn.MakeConnectionMethod(sql, connKey2, execMethod, DAL.EnumDBType.Sql, "");
        }


    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -