Actually your query should work without any issues. You're query should just run fine. It also shouldn't require any activation.
Db4o tries to translate the queries into SODA-Queries and avoid activating the objects Which version of db4o are you using? There was a bug which caused a NullRefrence-Exception in LINQ-Queries. It should be fixed Have you added the Db4objects.
Db4o.Linq. Dll assembly to your project. Are the mono-assemblies present?
I would tried to avoid using String. IsNullOrEmpty at the moment, because I will prevent the query-optimization. As soon a you call complex methods withing your query, the optimizer won't be able to translate the query into SODA.
Then you run basically LINQ to Objects, which will be slow on a large dataset.
Actually your query should work without any issues. You're query should just run fine. It also shouldn't require any activation.
Db4o tries to translate the queries into SODA-Queries and avoid activating the objects. Which version of db4o are you using? There was a bug which caused a NullRefrence-Exception in LINQ-Queries.It should be fixed.
Have you added the Db4objects. Db4o.Linq. Dll assembly to your project.
Are the mono-assemblies present? I would tried to avoid using String. IsNullOrEmpty at the moment, because I will prevent the query-optimization.
As soon a you call complex methods withing your query, the optimizer won't be able to translate the query into SODA. Then you run basically LINQ to Objects, which will be slow on a large dataset.
Thanks for your reply, you're quite helpful with this Db4o stuff. It's appreciated. I just upgraded all the DLL's to be the most recent release, now the query runs - however none of my indexes work any more.
Sigh I've enabled logging to the console, and I'm not getting any messages about missing indexes (as you helped me with, on an earlier post of mine). Any ideas? :( Cheers, Dave – Dave Jun 17 '10 at 14:20 Hmm that's strange.Do you see any new 'Db4objects.
Db4o.Linq. QueryOptimizationException' in the Output-Window in Visual-Studio? That would indicate that query isn't optimized anymore.
Check that you've there's 'Mono.Reflection. Dll' along the 'Db4objects. Db4o.Linq.
Dll'-assembly if your switched to the 8.0 beta-version. That's a new dependency instead of the Cecil-assemblies. Anyway, it's strange and should be investigated.
– Gamlor Jun 17 '10 at 14:40 I was using the latest v7 Dll's. I've upgraded to the beta, and everything seems ok now. Thanks again for your help.
Dave – Dave Jun 17 '10 at 15:38.
IsNullOrEmpty at the moment, because I will prevent the query-optimization. As soon a you call complex methods withing your query, the optimizer won't be able to translate the query into SODA. Then you run basically LINQ to Objects, which will be slow on a large dataset.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.