How to create the complex type of list type inside another c
Hi Every one,
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<Employee> Direct_Roles{get;set;}
}
I want to create a Complex type in the above format in model browser.