Skip to content

Instantly share code, notes, and snippets.

@shassaan
Created November 3, 2020 12:47
Show Gist options
  • Save shassaan/530c1bde86f163407b9188b02862c7c4 to your computer and use it in GitHub Desktop.
Save shassaan/530c1bde86f163407b9188b02862c7c4 to your computer and use it in GitHub Desktop.
School Context Class
public class SchoolContext: DbContext{
public SchoolContext():base(){}
public DbSet<Student> Students;
public DbSet<Grade> Grades;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment