Click here to Skip to main content
15,891,409 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Csv File Compare Pin
Brady Kelly6-Nov-07 3:13
Brady Kelly6-Nov-07 3:13 
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 
It seems to me you should be binding your datagrid to
Widget.WidgetId | Widget.WidgetName | Widget.Owner.LastName | Widget.Owner.Email

This is a fairly important distinction - the example you gave doesnt appear to take advantage of the relationship between Widgets and Users. You might not want your BLL to know about the exact FK relationship in the database, but the fact that Widgets have an Owner is part of your domain, and there is no escaping that.

How you implement these properties on the Widget class is up to you.

You might also want to consider using a tool that handles the database mapping for you. My company (linked in my signature) provides such a product, which is free for non-commercial use.

Mark Churchill
Director
Dunn & Churchill

GeneralRe: Composed Business Objects Pin
Pawel Krakowiak30-Oct-07 22:11
Pawel Krakowiak30-Oct-07 22:11 
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 

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.