Phoenix的天空
Any Program
        '主要是执行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
posted on 2011-05-28 22:38  Phoenix Huang  阅读(897)  评论(0编辑  收藏  举报