Update demo

This commit is contained in:
sunkaixuan
2025-05-04 19:21:58 +08:00
parent 9334773be5
commit d0a3d7820e
2 changed files with 2 additions and 4 deletions

View File

@@ -39,8 +39,7 @@ namespace OrmTest
//Rest Data //Rest Data
NewUnitTest.RestData(); NewUnitTest.RestData();
Console.WriteLine("all successfully."); Console.WriteLine("all successfully.");
Console.ReadKey();
} }
} }
} }

View File

@@ -63,8 +63,7 @@ namespace OrmTest
//.AS<Department>("test1.dbo.Department") //.AS<Department>("test1.dbo.Department")
.Select(o => new User2() { Id = o.Id, Name = o.Name }) .Select(o => new User2() { Id = o.Id, Name = o.Name })
.ToPageListAsync(1, 10, recordCount); .ToPageListAsync(1, 10, recordCount);
Console.ReadLine();
} }
public static void DataBaseInitialize() public static void DataBaseInitialize()
{ {