摘要:
当你创建和执行你的查询,从expression到相应的SQL,有几个步骤: 1.Create expression tree(创建表达树) 2.Convert it to SQL(转换SQL) 3.Run the query(运行查询) 4.Retrieve the data(找回数据) 5.Convert it to the objects(转换为对象)注意:使用查询时,第一和第二步是最耗费时间.而已编译查询就是为了减少同类查询中的这种损耗。使用CompiledQuery的时机:The query will be executed more than once, varying only b 阅读全文
posted @ 2013-08-05 09:56
犹大之欲
阅读(179)
评论(0)
推荐(0)

浙公网安备 33010602011771号