SqlSugar/Src/Asp.NetCore2/SqlSeverTest/Config.cs

32 lines
1.1 KiB
C#
Raw Normal View History

2017-08-24 15:18:53 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
2019-06-04 21:03:27 +08:00
/// <summary>
/// Setting up the database name does not require you to create the database
2021-10-31 17:52:54 +08:00
/// 只要设置IP、用户名和密码 自动建库和表
2019-06-04 21:03:27 +08:00
/// </summary>
2017-08-24 15:18:53 +08:00
public class Config
{
2019-06-04 21:03:27 +08:00
/// <summary>
/// Account have permission to create database
/// 用有建库权限的数据库账号
/// </summary>
2021-03-06 20:30:25 +08:00
public static string ConnectionString = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST";
2019-06-04 21:03:27 +08:00
/// <summary>
/// Account have permission to create database
/// 用有建库权限的数据库账号
/// </summary>
2021-03-06 20:30:25 +08:00
public static string ConnectionString2 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST2";
2019-06-04 21:03:27 +08:00
/// <summary>
/// Account have permission to create database
/// 用有建库权限的数据库账号
/// </summary>
2021-03-06 20:30:25 +08:00
public static string ConnectionString3 = "server=.;uid=sa;pwd=sasa;database=SQLSUGAR4XTEST3";
2017-08-24 15:18:53 +08:00
}
}