title: What is the purpose of a db context class in asp.net mvc
body: <p>I'm new to MVC and have done some tutorials to get the hang of it, but in some of these tutorials I have come across an example with a DbContext class <a href="https://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creating-an-entity-framework-data-model-for-an-asp-net-mvc-application" rel="noreferrer">asp.net mvc5 with EF6 tutorial</a></p>
  <p>I have tried researching information on DbContext Class but was unable to get any information that made me any the wiser! all I could find are more of the same tutorials with little information I also looked up the class on msdn <a href="https://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext(v=VS.103).aspx" rel="noreferrer">DbContext Class</a>.</p>
  <p>I have done previous tutorials without a db context class and it works fine and my question is do I need to use a context class, and what are the advantages of using a DbContext Class?</p>
  <p>Any help would be appreciated thanks.</p>