数据库
首页 > 数据库> > SqlSugar各数据库连接串

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=123!@;";

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

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

    }

 

标签:数据库,public,Source,readonly,static,User,Data,连接,SqlSugar
来源: https://www.cnblogs.com/soulsjie/p/16442481.html