In v8.1 I'm playing around with LINQ to query a custom schema collection in a code snippet. I know how to make the query but I seem to be unable to find a method to work with the columns and the results.
var tablaconsulta = from fila in AltaMasiva select fila;
foreach(var linea in tablaconsulta)
Logger.Info("Registros leidos: " + linea.Field<string>("NIF"));
, where AltaMasiva is a custom schema collection and "NIF" one of its columns. I always get an error addressing any column. I've tried linea["NIF"] , etc.. to no avail either. Any examples on how to do it?