View rowupdating


01-Aug-2020 17:34

The business logic class includes both business-logic methods and data-access methods, but the data-access methods call the repository to perform data-access tasks.You will also create an abstraction layer between your BLL and DAL that facilitates automated unit testing of the BLL.In Visual Studio, open the Contoso University web application you created in the Getting Started with the Entity Framework and Web Forms tutorial series, and then open the table, but no foreign key relationship is defined in the database.You need to create the relationship and update the data model so that the Entity Framework can automatically handle this relationship.

If you didn't complete the earlier tutorials, as a starting point for this tutorial you can download the application that you would have created.

Information regarding the origin and location of the exception can be identified using the exception stack trace below.