Unless the callers need to change the result set then I'd recommend returning a
IEnumerable
of
Student
s instead.
public static IEnumerable<Student> Show() {
using (var DB = new UniversityDataContext()) {
return DB.SPShow();
}
}
Hope this helps,
Fredrik