Preserving Data Annotations Using a Partial Metadata Class

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, and leave comments, log in or purchase a subscription.



Comments

You must log in to view comments.

Instructor

Bob Tabor

Description

If you use the technique we employed in Lesson 9 to utilize our Entity Data Model as the basis for our Views, you will need to take great caution when adorning Model properties with Data Annotations because you’re modifying generated code that could be re-generated in the future, thus losing your changes. This video demonstrates how to create a class as partial so that you no longer have to worry about that.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: