I've been trying to use SqlKata for a little while now and I'm really confused on how to get a single and simple WHERE clause to work.
I've been doing it as so:
var sistemas = DatabaseHelper.factory.Query("tblSistema").Where("id_fornecedor", fornc.id);
it returns me an XQuery and I have no idea on how to execute it. Note that appending First() and Get() at the end throws an exception.
'sistemas.Get()' threw an exception of type 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException'
I simply want to SELECT * FROM tblSistema WHERE id_fornecedor=1
for example