DBContext is a class which is responsible for interacting with the data as the object. After creation of Entity Framework model, it will generate a DataContext as shown in the below figure. This class is generated from the namespace System.Data.Entity.DBContext.