You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
494 B

2 years ago
  1. using OrmTest.Models;
  2. using SqlSugar;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OrmTest.UnitTest
  9. {
  10. public class MapTable : UnitTestBase
  11. {
  12. public void Init()
  13. {
  14. //IsAutoCloseConnection
  15. for (int i = 0; i < 200; i++)
  16. {
  17. var db = GetInstance();
  18. var x = db.Queryable<Student>().ToList();
  19. }
  20. }
  21. }
  22. }