This commit is contained in:
hogan
2018-12-21 13:09:46 +08:00
parent 7bfe4efb2c
commit 9d9493fdde
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ using System.Text;
public class g {
public static IFreeSql mysql = new FreeSql.FreeSqlBuilder()
.UseConnectionString(FreeSql.DataType.MySql, "Data Source=127.0.0.1;Port=3306;User ID=root;Password=root;Initial Catalog=cccddd;Charset=utf8;SslMode=none;Max pool size=10")
.UseConnectionString(FreeSql.DataType.MySql, "Data Source=127.0.0.1;Port=3307;User ID=root;Password=abc123456;Database=FreeSqlTest;Charset=utf8;SslMode=none;Max pool size=10")
.Build();
public static IFreeSql sqlserver = new FreeSql.FreeSqlBuilder()