System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Overview

Artifact ID: 9f67eae28ef82e057121bb5d578c61a8179157be
Ticket: 83530ed1b85a7a15ef08683c3282f74d394acb9a
SQLite EF6: DbSet<T>.SqlQuery() does not work
User & Date: anonymous 2019-04-02 10:03:53
Changes

  1. foundin changed to: "(Nuget) 1.0.110.0"
  2. icomment:
    Using SQlite with EF6, the DbSet function "SqlQuery()" gives an IndexOutOfRangeException when the result is enumerated.
    
    This seems to happen whenever explicit column names are part of the query.
    Using "select * from table" does not error but "select col1, col2 from table" does, and so does "select t.* from table t".
    
    This is problematic since any query that uses a join will have the error (ie "select t1.* from table1 t1 join table2 t2 on t1.id = t2.id where t2.col2 = 'search value'")
    
    I have created an example project on GitHub at [https://github.com/Gravemind2401/SQLiteTest]
    
  3. login: "anonymous"
  4. mimetype: "text/x-fossil-plain"
  5. private_contact changed to: "eccae9b092ba609db7fcd6d3f1592dcdd0c6b35e"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to: "SQLite EF6: DbSet<T>.SqlQuery() does not work"
  9. type changed to: "Code_Defect"