摘要:
'主要是执行ExecuteStoreQuery. 但是这货返回的是实体....如果你想返回部分数据, 还得再来一次.... Dim x As New IVOEntities Dim y = x.ExecuteStoreQuery(Of Interviewers)("select * from interviewers") '在内存中再挑一次, 坑爹呢.... Dim z = From a In y Select a.IntId, a.IntName Me.DataGridView1.DataSource = z.ToList 阅读全文