s
o
u
l
s
j
i
e

SqlSugar各数据库连接串

public class SqlConnHelp
    {
        /// <summary>
        /// SqlServer连接串
        /// </summary>
        public static readonly string SqlServerConStr = "Data Source=localhost;Initial Catalog=CS_BS_WEBAPI_TEST;User Id=sa;Password=******;";

        /// <summary>
        /// Oracle连接串
        /// </summary>
        public static readonly string OracleConStr = "Data Source=***-BK8FAGIA:1521/orcl;User ID=hp;Password=***";

        /// <summary>
        /// Mysql连接串
        /// </summary>
        public static readonly string MySqlConStr = "database='bozhu';Data Source = '127.0.0.1'; User Id = '****'; pwd='***';charset='utf8';pooling=true";

    }

 

posted @ 2022-07-04 11:55  soulsjie  阅读(1345)  评论(0编辑  收藏  举报
你累吗?累就对了,当你觉得累时证明你在走上坡路!-----NotFoundObject - 2016-12-14 08:43