entity framework异常 The specified cast from a materialized 'System.Int32' type to the 'System.String' type is not valid

ROW_NUMBER() OVER (ORDER BY (select Null)) AS Id  
entity framework 查询中有这句会有异常
posted @ 2018-09-01 20:08  兰博丶专属  阅读(2016)  评论(0编辑  收藏  举报