Thanks, Federico. The big issue I've run into so far is that GROUP BY doesn't work. See http://code.google.com/p/dblinq2007/issues/detail?id=157and http://code.google.com/p/dblinq2007/issues/detail?id=158
A possible workaround for this and other bugs like it is to revert to LINQ-to-Object internally by calling .ToList() and optionally .AsQueryable() (if you need an IQueryable). Sure, it would result in poor performance, but that's better than not working at all, right? Perhaps the log could show a warning to say that it's doing this. What do you think? If I make any fixes myself should I raise issues in Google Tracker or just email the patches to this list? I get the impression that those issues don't get looked at very often. Evgeny 2009/10/19 Federico Di Gregorio <[email protected]> > > Il giorno dom, 18/10/2009 alle 22.02 -0700, Evgeny Potashnik ha scritto: > > Hi everyone, > > > > I'm new to DbLinq - have been playing around with it for the last few > > days. It looks quite promising, especially if it gets included in > > Mono, but I have also come across quite a few issues. I've reported > > those in the issue tracker, but my immediate question is: are the > > PostgreSQL tests supposed to be passing? > > No. I am slowly going through them and marking Explicit the ones that > don't work. Some tests are exposing what I think are problems in the > DbLinq core and fixing them requires quite some work. If you need some > specific feature fixed just drop here and email and I'll see what I can > do. > > > > > I'm testing on SVN revision 1239 and I've read > > http://groups.google.com/group/dblinq/web/unit-tests, but even if I > > exclude the [Explicit] tests over 200 tests in the PostgreSql_test > > project fail. (And that's after changing the project settings not to > > #define DEBUG in Release build.) The main problem seems to be line 18 > > in NorthwindCustom: > > > > [Column(Storage = "_EmployeeID", Name = "EmployeeID", DbType = > > "serial", IsDbGenerated = true)] > > > > If I change "_EmployeeID" to "_employeeID" this fixes many of the > > tests, but 85 still fail (in Release build), eg. > > Attach.NotExistingAttach(), ReadTest.C4_CountWithOrderBy(), > > D12_SelectDerivedClass(), etc. They all fail with different > > exceptions. > > Yep, the "metal" generator still has some problems. I am working on that > right now. For the other tests it is correct for them to fail; they are > almost all real bugs. > > federico > > -- > Federico Di Gregorio http://people.initd.org/fog > Debian GNU/Linux Developer [email protected] > INIT.D Developer [email protected] > Best friends are often failed lovers. -- Me > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DbLinq" 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/dblinq?hl=en -~----------~----~----~----~------~----~------~--~---
