mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
-
This commit is contained in:
@@ -15,6 +15,8 @@ namespace OrmTest.Demo
|
||||
Name = "attr"
|
||||
};
|
||||
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
|
||||
|
Reference in New Issue
Block a user