Use of InversePropertyAttribute in Entity Framework

InversePropertyAttribute in System.ComponentModel.DataAnnotations.Schema can be quite handy when using Entity Framework code first. Let’s take the following scenario. Consider that you have the following two entities and the data context. public class Person { publi

C# (8.8 MB)
 
 
 
 
 
(0)
123 times
Add to favorites
9/8/2015
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
Click an item in the panel on the left to view the contents here.