Update demo

This commit is contained in:
sunkaixuan 2025-04-03 11:16:24 +08:00
parent 677c2f1582
commit 2a73272cf0

View File

@ -43,7 +43,7 @@ namespace OrmTest
.SplitTable() .SplitTable()
.ToList(); .ToList();
if (list.First().Name != "jack1"|| list.Last().Name != "lilei1") if (list.First(it=>it.Name.StartsWith("jack")).Name != "jack1"|| list.Last(it=>it.Name.StartsWith("li")).Name != "lilei1")
{ {
throw new Exception("unit error"); throw new Exception("unit error");
} }