linq クエリの結果をリストに変換する必要があります。次のコードを試しました:
var qry = from a in obj.tbCourses
select a;
List<course> lst = new List<course>();
lst = qry.ToList();
上記のコードで次のエラーが発生しました。
Cannot implicitly convert type
System.Collections.Generic.List<Datalogiclayer.tbcourse> to
System.Collections.Generic.List<course>