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>();