considering this example:-
IList<Book> books =
querystring = @"
IQuery query = factory.Context.Scope.GetSqlQuery(querystring,
IQueryResult qres = query.Execute();
Name = item ==
Author = item ==
it gives me all stores of exceptions such as "Telerik.OpenAccess.RT.sql.SQLException: Could not find stored procedure ''" and "Telerik.OpenAccess.RT.sql.SQLException: Index and length must refer to a location within the string."
if i change querystring so that it is all on a single line, it works fine:-
string querystring = @"SELECT Name, Author FROM Books";
i've tried all sorts of things with the sql to get it to work, but nothing does.
is there a good reason this shouldn't work?