Using Data Annotations to Refine the Generated Database5:58 with James Churchill
Let's take a look at how we can refine our model by using data annotation attributes on our entity class properties.
To follow along commiting your changes to this course, you'll need to fork the dotnet-comic-book-gallery-model repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-comic-book-gallery-model git checkout tags/v3.6 -b using-data-annotations-to-refine-the-generated-database
You need to sign up for Treehouse in order to download course files.Sign up