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