mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 10:24:55 +08:00
-
This commit is contained in:
@@ -15,6 +15,8 @@ namespace OrmTest.Demo
|
|||||||
Name = "attr"
|
Name = "attr"
|
||||||
};
|
};
|
||||||
db.Insertable(a).AS("student").ExecuteCommand();
|
db.Insertable(a).AS("student").ExecuteCommand();
|
||||||
|
|
||||||
|
var list = db.Queryable<AttributeTest>().AS("student").Select(it => new AttributeTest() { Aid = it.Aid + 1 }).ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class AttributeTest
|
public class AttributeTest
|
||||||
|
|||||||
Reference in New Issue
Block a user