Salve sto cercando di approcciarmi a LINQ e nello specifico sto cercando di creare una query dinamica ma questa va in errore e non capisco dove sto sbagiando.
La query che sto creando è questa :
IQueryable<Utenti> rs = twdbMan.Utenti.Where("Cognome = 'Pippo'");
Il risultato della query è che mi riporta sempre quest'errore:
Cognome could not be resolved in the current scope or context. Make sure that all referenced variables are in scope, that required schemas are loaded, and that namespaces are referenced correctly. Near simple identifier, line 6, column 1.
Grazie a chiunque possa e voglia aiutarmi.