VistaDB .net database blog: All Commentshttp://www.vistadb.net/blog/100% C# powered ado.net SQL engineGraffiti CMS 1.0 (build 1.0.1.963)Tue, 01 Jul 2008 15:15:00 GMTRE: LINQ test for custom IEnumeratorhttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-91Tue, 01 Jul 2008 15:15:00 GMThttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-91Jason Short<p>Currently there is nothing internal to do with LINQ. That is what we are discussing. The Entity Framework is part of the solution, but we are discussing adding it internal to the engine for DDA.</p> <p>You are pretty much limited to your OS/RAM, size of tables, etc.</p> RE: LINQ test for custom IEnumeratorhttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-90Sun, 29 Jun 2008 12:32:00 GMThttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-90Christer Jensen<p>Do you expect to implement LINQ, in your base product. As far as i can see from the samples on the site, you query the data and then manipulate them using linq2objects. Am i missing something here ?. One of the powers in linq is to reduce the dataset required from the db. On a sidenote, how big can a vistadb table be, is there a limit ? regarding size / os.</p> RE: LINQ test for custom IEnumeratorhttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-89Sun, 29 Jun 2008 01:54:00 GMThttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-89Jason Short<p>I was not being LITERAL in the comment to the code. :) </p> <p>The comment was about complexity of your query in a single line compared to what it would take in DDA today. </p> <p>You can do a lot in that single line, LIKE reducing the queryset to only those with more than xx number of characters and then skipping to only the odd numbers. That is easy in LINQ. Maybe it is a contrived scenario (it is), but I am sure there are places for it.</p> RE: LINQ test for custom IEnumeratorhttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-88Sat, 28 Jun 2008 14:53:00 GMThttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-88Mark<p>Jason,</p> <p>I am confused. </p> <p> var foundrows = firsttable.Where(c =&gt; c.StringData.Length &gt; 0).Skip(1);</p> <p>This will the all items in firsttable, evaluate the condition selecting only those that have a length &gt; 0 and then skip the first item of that filtered set.</p> <p>&quot;In DDA you would have to set .First(), then .MoveNext() and then move through each row checking for the length &gt; 0.&quot;</p> <p>What you describe here I believe is this - </p> <p>var foundrows = firsttable.Skip(1).Where(c =&gt; c.StringData.Length &gt; 0);</p> <p>These two queries will return different results. Using LinqPAD</p> <p>var data = new string[] {&quot;&quot;, &quot;x&quot;, &quot;&quot;, &quot;xx&quot; };</p> <p>var qOne = data.Where(s =&gt; s.Length &gt; 0).Skip(1);</p> <p>var qTwo = data.Skip(1).Where(s =&gt; s.Length &gt; 0);</p> <p>qOne.Dump();</p> <p>IEnumerable&lt;String&gt; </p> <p>xx</p> <p>qTwo.Dump();</p> <p>IEnumerable&lt;String&gt; </p> <p>x</p> <p>xx</p> <p>Am I missing something?</p> RE: LINQ test for custom IEnumeratorhttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-87Fri, 27 Jun 2008 22:10:00 GMThttp://www.vistadb.net/blog/articles/linq-test-for-custom-ienumerator/#comment-87Jason Short<p>The code didn't post so well, I will put it in the LINQ forum as well.</p> RE: VistaDB 3.4 Build 62 - New installerhttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-86Fri, 27 Jun 2008 13:11:00 GMThttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-86Jason Short<p>We fixed some exceptions related to column mapping in relationships from 61 to 62. It was a strongly typed issue not allowing the cast. So give Build 62 a try.</p> RE: VistaDB 3.4 Build 62 - New installerhttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-85Fri, 27 Jun 2008 12:07:00 GMThttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-85Uwe<p>Had some exceptions when doing ALTER TABLE stuff in Build 61. Went back to V3.3, worked there.</p> <p>If final V3.4 has this exceptions, too, I will file a detailed issue report in the forum.</p> <p>Keep your good work going!!! :-)</p> RE: VistaDB 3.4 Build 62 - New installerhttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-84Fri, 27 Jun 2008 01:10:00 GMThttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-84Jason Short<p>Thanks! 3.4 is shaping up quite nicely. Performance is improving, memory footprint going down. And we feel we are just getting started with improvements to the engine!</p> RE: VistaDB 3.4 Build 62 - New installerhttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-83Thu, 26 Jun 2008 22:53:00 GMThttp://www.vistadb.net/blog/builds/vistadb-3-4-build-62-new-installer/#comment-83Ben<p>I am really looking forward to the release of 3.4. The testing I have done so far has shown very good speed increases.</p> RE: VistaDB Coolest Feature?http://www.vistadb.net/blog/articles/vistadb-coolest-feature/#comment-82Fri, 20 Jun 2008 13:59:00 GMThttp://www.vistadb.net/blog/articles/vistadb-coolest-feature/#comment-82Jason Short<p>Sure you can. If you want a custom extention, go into the registry and build a mapping for the extention. Look at the one for vdb3 and copy it. It passes a %1 on the command line for the load option. </p> <p>OR - We include the complete code to the Data Builder with all full licenses. Modify it to load / save your extention by default.</p>