I am struggling with an issue in model first approach, their will be main complex type which contains Name,Address,Email,Phoneno which is the parent class. And I should create second complex which will be child class having the first complex type with different name and list of first complex type.
Class Employee
{
public string Name{get;set;}
public string Address {get;set;}
public string Email{get;set;}
public string Phoneno {get;set;}
}
Class Organisation:Employee
{
public Employee Manager{get;set;}
public List
}
I want to create a Complex type in the above format in model browser.

Santosh KumarPosted Oct 18, 2013, 1:05 AM
Jignesh TrivediPosted Oct 18, 2013, 12:42 AM
hi,
Please refer below link it contain model first approch with complex model entity
http://weblogs.asp.net/scottgu/archive/2010/12/08/announcing-entity-framework-code-first-ctp5-release.aspx
hope this will help you.