As far as I know, nothing's been done for this. Anyway, by taking a look at it, it appears that FirstOrDefault method is supported, so I'm interesting in knowing what's going wrong. There are two points where methods are handled: 1. QueryRunner.SelectScalar() handles top level method calls on expressions (according to your sample, this is the concerned point). 2. ExpressionDispatcher.AnalyzeCall() handles method calls within expressions (intermediate methods).
Pascal. jabber/gtalk: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] On Tue, Dec 2, 2008 at 01:24, bryan costanich <[EMAIL PROTECTED]>wrote: > > ok, i'm back, i've been busy on a project, but i'm back to where i > need this again. what's the current status? has it been implemented > yet? if not, can you point me in the direction i need to look in order > to get it implemented? > > On Oct 5, 12:02 pm, "Pascal Craponne" <[EMAIL PROTECTED]> wrote: > > Some methods are already supported this way (when they're given an > > argument), so we can expand their behavior to FirstOrDefault() handling. > > Bryan, this could be a good way to enter the project :) > > > > On Sat, Oct 4, 2008 at 23:21, bryan costanich <[EMAIL PROTECTED] > >wrote: > > > > > > > > > Hi all, > > > > > I used the DBMetal.exe to create the c# files for my MySQL database, > > > but i notice that the tables don't support the FirstOrDefault() > > > method. > > > > > I was wondering if there was any plan to put that in any time soon. > > > For me, it's kind of a pri-0 feature, since i use it everywhere i need > > > to get a single item from a database (i've found it to actually be one > > > of the most useful parts of LINQ). > > > > > Plans? Thoughts? > > > > -- > > Pascal. > > > > jabber/gtalk: [EMAIL PROTECTED] > > msn: [EMAIL PROTECTED] > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
