Instead of SqlLite I modified it for SQL server, updating most of the example code to suit SQL Server. But when it comes for the DatabaseMetadata to retrieve the columns for the Table, it returns an empty array.
The function I modified is located in the DatabaseMetadata.cs file. The function is called GetColumnsMetadata.
When I copy the SQL that is being sent and run it manually, I get all the Columns in the table provided. But when the _DbNrecoAdapter.Select() calls it, it returns empty.
When I look at the Db Adapter object, it all looks correct so I am stuck at this precise point from getting the DatabaseMetadata class to query the columns for the tables provided.
I was going through your example found here: https://github.com/nreco/data/tree/master/examples/SqliteDemo.GraphQLApi
Instead of SqlLite I modified it for SQL server, updating most of the example code to suit SQL Server. But when it comes for the DatabaseMetadata to retrieve the columns for the Table, it returns an empty array.
The function I modified is located in the DatabaseMetadata.cs file. The function is called
GetColumnsMetadata
.When I copy the SQL that is being sent and run it manually, I get all the Columns in the table provided. But when the _DbNrecoAdapter.Select() calls it, it returns empty.
When I look at the Db Adapter object, it all looks correct so I am stuck at this precise point from getting the DatabaseMetadata class to query the columns for the tables provided.