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