TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Santosh Kumar
NA
126
60.3k
How to create the complex type of list type inside another c
Oct 17 2013 7:02 AM
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.
Reply
Answers (
2
)
Dropdown menu(i.e SubMenu) not wporking properly in Firefox
How to group data in asp.net data controls