How It Works
You started this exercise by adding a column for the user’s name to the PhotoAlbum table. With this column, you can keep track of the user who created the photo album, giving you the opportunity to display data related to the user together with a photo album. When you run the Update Wizard by choosing Update Model from Database, changes in the database (such as adding a column to a table) are refl ected in the model.
In the New Photo Album page, you used this new property by assigning it the name of the current user with this code in the EntityDataSource1_Inserting handler: