mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 04:13:48 +08:00
-
This commit is contained in:
parent
e20aa8cbb8
commit
ebf36b9c91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user