Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 28, 2015 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debugmodedotnet/8c3db3b5b4c76337fc67 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/8c3db3b5b4c76337fc67 to your computer and use it in GitHub Desktop.
Context c = new Context();
var result = from r in c.Students select r;
foreach (var r in result)
{
Console.WriteLine(r.Name);
Console.WriteLine(r.StudentAccounts.Amount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment