mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -12,7 +12,7 @@ namespace OrmTest.Demo
|
||||
public static void Init()
|
||||
{
|
||||
var db = GetInstance();
|
||||
var students = db.Queryable<CMStudent>().ToList();
|
||||
var students = db.Queryable<CMStudent>().Take(10).ToList();
|
||||
if (students != null)
|
||||
{
|
||||
foreach (var item in students)
|
||||
|
Reference in New Issue
Block a user