Click here to Skip to main content
15,887,822 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionComposed Business Objects Pin
Pawel Krakowiak29-Oct-07 4:32
Pawel Krakowiak29-Oct-07 4:32 
AnswerRe: Composed Business Objects Pin
led mike29-Oct-07 5:15
led mike29-Oct-07 5:15 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak29-Oct-07 5:22
Pawel Krakowiak29-Oct-07 5:22 
GeneralRe: Composed Business Objects Pin
led mike29-Oct-07 6:15
led mike29-Oct-07 6:15 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak29-Oct-07 6:36
Pawel Krakowiak29-Oct-07 6:36 
GeneralRe: Composed Business Objects Pin
led mike29-Oct-07 7:58
led mike29-Oct-07 7:58 
AnswerRe: Composed Business Objects Pin
Mark Churchill30-Oct-07 19:00
Mark Churchill30-Oct-07 19:00 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak30-Oct-07 22:11
Pawel Krakowiak30-Oct-07 22:11 
Mark Churchill wrote:
It seems to me you should be binding your datagrid to
Widget.WidgetId | Widget.WidgetName | Widget.Owner.LastName | Widget.Owner.Email


Yeah, I redesigned the application, so now my business objects make more sense.

I could write a SQL query (stored proc) which would return data from joined tables, then create another Table Adapter and BO. But this doesn't look good to me in terms of design. First rule is you should not update the business layer to meet the UI requirements, it should be exactly the opposite. And that's why I don't like the idea of creating a new BO just for displaying statistics in a GridView in the presentation layer.

My problem (at least a similar one) was already discussed at ASP.NET Forums[^].

Thanks.

Kind regards,
Pawel Krakowiak

GeneralRe: Composed Business Objects Pin
led mike31-Oct-07 4:56
led mike31-Oct-07 4:56 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak31-Oct-07 5:08
Pawel Krakowiak31-Oct-07 5:08 
GeneralRe: Composed Business Objects Pin
led mike31-Oct-07 5:36
led mike31-Oct-07 5:36 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak31-Oct-07 7:54
Pawel Krakowiak31-Oct-07 7:54 
GeneralRe: Composed Business Objects Pin
Mark Churchill31-Oct-07 18:09
Mark Churchill31-Oct-07 18:09 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak1-Nov-07 4:16
Pawel Krakowiak1-Nov-07 4:16 
GeneralRe: Composed Business Objects Pin
Mark Churchill1-Nov-07 16:20
Mark Churchill1-Nov-07 16:20 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak1-Nov-07 23:41
Pawel Krakowiak1-Nov-07 23:41 
GeneralRe: Composed Business Objects Pin
Mark Churchill2-Nov-07 1:50
Mark Churchill2-Nov-07 1:50 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak2-Nov-07 2:01
Pawel Krakowiak2-Nov-07 2:01 
GeneralRe: Composed Business Objects Pin
Mark Churchill2-Nov-07 2:57
Mark Churchill2-Nov-07 2:57 
GeneralRe: Composed Business Objects Pin
martin_hughes2-Nov-07 7:44
martin_hughes2-Nov-07 7:44 
GeneralRe: Composed Business Objects Pin
Mark Churchill2-Nov-07 16:39
Mark Churchill2-Nov-07 16:39 
GeneralRe: Composed Business Objects Pin
Pawel Krakowiak2-Nov-07 10:55
Pawel Krakowiak2-Nov-07 10:55 
GeneralRe: Composed Business Objects Pin
Mark Churchill2-Nov-07 16:24
Mark Churchill2-Nov-07 16:24 
GeneralSuggestions: File Layout Editor Pin
Brady Kelly28-Oct-07 22:45
Brady Kelly28-Oct-07 22:45 
QuestionInformation on .Net Architecture positions Pin
M LN Rao22-Oct-07 22:24
M LN Rao22-Oct-07 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.