mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update unit test
This commit is contained in:
parent
50f262924d
commit
0cdd6eb54c
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using SqlSugar;
|
||||
using System.Linq;
|
||||
namespace OrmTest
|
||||
{
|
||||
public class CrossDatabase03
|
||||
@ -34,6 +35,15 @@ namespace OrmTest
|
||||
.Includes(z => z.Items)
|
||||
.ToList();
|
||||
|
||||
|
||||
if (list.First().Order == null)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
if (list2.First().Items.Count == 0)
|
||||
{
|
||||
throw new Exception("unit error");
|
||||
}
|
||||
Console.WriteLine("OrderDb");
|
||||
foreach (var item in db.GetConnection("OrderDb").DbMaintenance.GetTableInfoList(false))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user