Value in rowupdating event
In some that includes both business logic and data-access logic.In this tutorial you will create separate classes for business logic and for data-access logic.There are three ways you can work with data in the Entity Framework: . For information about the differences between these workflows and guidance on how to choose the best one for your scenario, see Entity Framework Development Workflows. This lets you combine the advantages of an n-tier approach with the benefits of using a Web Forms control for data access.Like the Getting Started series, this tutorial series uses the ASP. The control gives you more flexibility in other ways as well.
For an example of how to specify a cascading delete, see The Entity Framework and ASP. page that you will be creating, you want to provide a drop-down list of instructors, with names in "last, first" format so that users can select department administrators.In the third tutorial in this series you will add sorting and filtering functionality to the application.The pages you create in this tutorial work with the entity set of the data model that you created in the Getting Started tutorial series.For testing, you provide a repository object that works with data stored in a way that you can easily manipulate, such as class variables defined as collections.The following illustration shows the difference between a business-logic class that includes data-access logic without a repository and one that uses a repository.