diff --git a/Src/Asp.Net/SqlServerTest/Demos/E_Attribute.cs b/Src/Asp.Net/SqlServerTest/Demos/E_Attribute.cs index 0e2719f8d..e4c8b785a 100644 --- a/Src/Asp.Net/SqlServerTest/Demos/E_Attribute.cs +++ b/Src/Asp.Net/SqlServerTest/Demos/E_Attribute.cs @@ -15,6 +15,8 @@ namespace OrmTest.Demo Name = "attr" }; db.Insertable(a).AS("student").ExecuteCommand(); + + var list = db.Queryable().AS("student").Select(it => new AttributeTest() { Aid = it.Aid + 1 }).ToList(); } public class AttributeTest