From 3d10ebcb1703766303d75e18b36d4973875797db Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 11 Nov 2022 11:02:22 +0800 Subject: [PATCH] Add unit test --- .../SqlServerTest/UnitTest/UnitManyToMany.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/UnitManyToMany.cs b/Src/Asp.Net/SqlServerTest/UnitTest/UnitManyToMany.cs index 7b3bbb4cb..e0a54cadd 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/UnitManyToMany.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/UnitManyToMany.cs @@ -106,7 +106,21 @@ namespace OrmTest }) .ExecuteCommand(); - + db.InsertNav(new OperatorInfo() + { + id = "1113", + createTime = DateTime.Now, + isDel = 1, + isDisabled = 1, + openid = "", + phone = "", + pwd = "", + realname = "a01", + remark = "a", + sno = "a", + username = "admin", + Roles=null + }).Include(z => z.Roles).ExecuteCommand(); }