mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add unit test
This commit is contained in:
parent
03e31c5060
commit
8061984c76
@ -69,6 +69,9 @@ namespace OrmTest
|
|||||||
{
|
{
|
||||||
Name = "a"
|
Name = "a"
|
||||||
}).Where(it => it.Id != null).ExecuteCommand();
|
}).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.CodeFirst.InitTables<CodeFirstChartest>();
|
||||||
db.Queryable<CodeFirstChartest>().Where(it => it.Test == 's').ToList();
|
db.Queryable<CodeFirstChartest>().Where(it => it.Test == 's').ToList();
|
||||||
db.CodeFirst.InitTables<CodeFloatddfa1a1>();
|
db.CodeFirst.InitTables<CodeFloatddfa1a1>();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.3.55</version>
|
<version>5.1.3.56-preivew01</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user