bbsimonbb/query-first

empty .gen.cs andResults.cs files

Closed this issue · 2 comments

Hi,
Great project but I am having a hard time getting it working.

after adding the sql (Query1.sql), the .gen.cs file shows:
/* Generated code goes here. Don't bother modifying this file */

and the result file:

using System;

namespace TradeTicket.DAL
{
    [Serializable]
    public partial class Query1Results
    {
        // Partial class extends the generated results class
        // Serializable by default, but you can change this here		
        // Put your methods here :-)
        internal void OnLoad()
        {
        }
    }
}

Is there anything else I need to do? (I do have the QfRuntimeConnection.cs in place)
Thanks.

got it working by adding the QfRuntimeConnection.cs file with the following:


{
  "defaultConnection": "yourconnectionstring",
  "provider": "System.Data.SqlClient" ,
  "makeSelfTest": false
}

removed the helper dll line.

Ok looks like you're up and running.