Menu

Native Queries

Help .Net
Coco Walla
2009-08-07
2013-05-29
  • Coco Walla

    Coco Walla - 2009-08-07

    I really hope I'm missing something... but does the .NET version support native queries? I can't find any way to get it to work :(

    It would be _great_ if we could use anonymous delegates in the same kind of way that db4o uses them. Something like this:

    string sportName = "Rugby";

    IQuery query = new NativeQuery(delegate(Sport querySport)
    {
        return querySport.GetName() == sportName;
    });

    Does NeoDatis support this or something like it?

     
    • Olivier

      Olivier - 2009-08-10

      Hi Coco Walla,

      Native Queries are not 100%. I believe the next version (beta3) will support them,
      Thanks,
      Olivier

       
    • Colin Anderson

      Colin Anderson - 2009-08-14

      Hi Olivier, beta3 is now available, but I assume that native queries do not yet work?

      If not, can I hope they will be available in beta4?

       
      • Olivier

        Olivier - 2009-08-14

        Yes, probably.

         
    • Olivier

      Olivier - 2009-08-15

      Hi,
      the 1.9 beta 4 now supports Native Queries (not with delegate). You can check how it work at the end of the online tutorial at http://www.neodatis.org/net

      Thanks,
      Olivier

       
      • Colin Anderson

        Colin Anderson - 2009-08-15

        Superb!

        I'll have a play and advise if I find any issues!

         

Log in to post a comment.