This commit is contained in:
sunkaixuan 2017-12-05 13:42:23 +08:00
parent e20aa8cbb8
commit ebf36b9c91

View File

@ -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