mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 11:19:15 +08:00
ModelContext support inheritance
This commit is contained in:
@@ -12,6 +12,7 @@ namespace OrmTest.Demo
|
||||
public static void Init()
|
||||
{
|
||||
var db = GetInstance();
|
||||
db.Insertable(new CMStudent() { SchoolId = 1, Name = "xx1" }).ExecuteCommand();
|
||||
var students = db.Queryable<CMStudent>().ToList();
|
||||
if (students != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user