mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 18:48:09 +08:00
Update demo
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Net.Mime;
|
using System.Net.Mime;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -61,7 +62,7 @@ public static class Unitdfafaa
|
|||||||
.ToList<StudentsSubDto>(),
|
.ToList<StudentsSubDto>(),
|
||||||
}, true)
|
}, true)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
if (!result.First().Subs.Any()) throw new Exception("unit error");
|
||||||
Console.WriteLine(JsonConvert.SerializeObject(result));
|
Console.WriteLine(JsonConvert.SerializeObject(result));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user