Hi Stefan. I'm using the IEnumerable version, but my source objects are loaded by NH at beginning. So a LINQ query can result in some NH lazy queries.
I solved the problem using CodeDOM and realized that I could have used it to do all the stuff (Simple methods and property access). I'm very satisfied with the solution. Thanks for help On 11 mar, 07:00, Stefan Wenig <[email protected]> wrote: > > > Stefan : so you want to use LINQ 2 objects (the IEnumerable version), not > > > LINQ 2 NH? > > > Does it matter? That's why I want to use LINQ. > > just wanted to clarify. unless you want to keep hearing about HQL ;-) > > > The layout is configured by our support > > team, and sent to the client ready to be used. It is something like > > then assembly unloading should not matter. compiling C# via CodeDOM > sounds like a good option. VB even more so, if the REPL rumors are > true. (LINQ is not a language!) > another option: use scripting. IronPython has map/filter (aka select/ > where) and list comprehension too, although the syntax looks strange > if you expect LINQ. > > Any of those would typically be less work than implementing your own > little lang, and more robust. Be aware of the security implications > though (write access to these strings is as powerful as access to your > app's assemblies!) -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
