This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I tried to use LINQ projection as described in http://www.mindscapehq.com/forums/thread/3168. It looks like such queries don't close their database connections. Please see LightspeedTests1.Connectionsmustbeclosedafteranonymousquery() in the attached zip (please use LightSpeedTests1.zip since I could't delete the wrong one). The test fails when it tries to delete its test DB. If you change the query to just load entities (i.e. "uow.EntAs" instead of "entAAnonymous"), the test passes. With best regards, Dariusz Wąsacz, InstalSoft |
|
|
The correct attachment. |
|
|
Thanks for reporting this and for the repro project, Ive added a fix for this and we will be looking at merging this into the nightly build shortly. I will update you once its available - should be either tonight or tomorrows build.
|
|
|
This has now been merged in and will be available in the next nightly build.
|
|
|
Everything works fine now. Thank you :-) Darek |
|