Named parameters not reconized in SqlQuery
------------------------------------------

                 Key: DNET-690
                 URL: http://tracker.firebirdsql.org/browse/DNET-690
             Project: .NET Data provider
          Issue Type: Bug
          Components: Entity Framework support
    Affects Versions: 5.0.5.0
         Environment: Windows 10 64 bits
            Reporter: Fabiano Rezende
            Assignee: Jiri Cincura


try this:

using (var ctx = new FbTestModel())
{
        var x = ctx.Database.SqlQuery<int>("select int_field from test where 
int_field = @start", 10);
        var i = x.SingleOrDefault();
}

raises the error:
Must declare the variable '@start'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to