mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Upate demo
This commit is contained in:
parent
10df47cdef
commit
39f3cb9594
@ -1,5 +1,6 @@
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
|
|
||||||
|
MyTest();
|
||||||
ServerTest();
|
ServerTest();
|
||||||
|
|
||||||
Console.Read();
|
Console.Read();
|
||||||
@ -7,8 +8,8 @@ static void MyTest()
|
|||||||
{
|
{
|
||||||
var sqlugar = new SqlSugarClient(new ConnectionConfig()
|
var sqlugar = new SqlSugarClient(new ConnectionConfig()
|
||||||
{
|
{
|
||||||
DbType = DbType.SqlServer,
|
DbType = DbType.MySql,
|
||||||
ConnectionString = "SERVER=.;uid=sa;pwd=sasa;database=SqlSugar4Text4"
|
ConnectionString = "server=localhost;Database=SqlSugar4xTest;Uid=root;Pwd=123456;"
|
||||||
},
|
},
|
||||||
it =>
|
it =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user