你的位置: 码友网首页 / 资讯源列表 / Translating NHibernate LINQ query to SQL

关于[Translating NHibernate LINQ query to SQL]的摘要:

When working with stateless sessions in NHibernate we need some way to see generated SQL but we cannot use simple tricks as custom NHibernate interceptor to log SQL queries. As I’m using mostly NHibernate LINQ these days I was interested in how to get SQL out from LINQ query without actually executing it. Here’s my solution.

原文地址: https://gunnarpeipman.com/nhibernate-linq-tosql/

收录时间: 2020-09-02 浏览量: 1232 分类: .NET

| 0 收藏 | 0