1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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=hp;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"; } |