This question is locked. New answers and comments are not allowed.
I am having a lot of trouble getting my "result" to transfer over into the "list" variable. Should be simple, but i'm missing something. The error is: Using the generic type 'System.Collections.Generic.IList<T>' requires '1' type arguments
Please advise:
var result = from s in scope.Extent<Source>()
select new { s.IdSource, s.SourceName };
IList list = result.ToList();
foreach (Source data in list)
{
}
Please advise:
var result = from s in scope.Extent<Source>()
select new { s.IdSource, s.SourceName };
IList list = result.ToList();
foreach (Source data in list)
{
}