Skip to content
Discussion options

You must be logged in to vote

The idea behind CSLA is that you design your object model to meet the needs of each user scenario. This is often driven by the requirements of the UI.

My recommendation is that if you have a read-only list you are displaying to the user, that you update the list to contain the fields (properties) required by the scenario and UI.

However, if you are retrieving a single object to display a lot of properties to the user, and also you have a page that edits those very same properties, then I'd personally re-use the same read-write business type (in your case AgencyEdit) for both pages.

I would not create a read-only list based on AgencyEdit objects though, because that'll often cause major pe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Prashant3110kk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants