Link to home
Start Free TrialLog in
Avatar of rocky050371
rocky050371

asked on

Data Layers + Views

I have numerous data object which return a single or list of relevant objects. The problem I have is that I have created a view which is the amalgamation of numerous objects. For example I have

A Task object which has a child collection of Steps
A step can be a number of different types, one being a schedule

I have a view which connects - Task >> TaskStep >> Step >> Schedule.

Is it better to create a new class with the various fields I need or start returning from the top level object and work my way down, this way seems pretty inefficient.
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial