Add unit test

This commit is contained in:
sunkaixuan 2023-03-06 16:46:32 +08:00
parent 03e31c5060
commit 8061984c76
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,9 @@ namespace OrmTest
{
Name = "a"
}).Where(it => it.Id != null).ExecuteCommand();
db.Insertable(new CodeFirstNoUpper() { Name = "a",Id="1" }).ExecuteReturnIdentity();
db.Insertable(new CodeFirstNoUpper() { Name = "a" ,Id="2"}).AddQueue();
db.SaveQueues();
db.CodeFirst.InitTables<CodeFirstChartest>();
db.Queryable<CodeFirstChartest>().Where(it => it.Test == 's').ToList();
db.CodeFirst.InitTables<CodeFloatddfa1a1>();

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.3.55</version>
<version>5.1.3.56-preivew01</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>