Skip to content
Discussion options

You must be logged in to vote

SimpleNTier uses the factory implementation model for data access. When you use the factory model, you assume a lot of control (and responsibility) for managing the metastate of the business domain objects.

Personally, I tend to use the encapsulated invocation model mostly, because it allows CSLA to manage the metastate, and still provides clean separation of concerns between the business layer and data access layer.

These models are discussed (along with the other valid models) in the Using CSLA 4 book series, specifically the book on data access.

The FieldManager.UpdateChildren supports the encapsulated invocation (and encapsulated implementation) models, and is generally the right answer.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Art666OTS
Comment options

@rockfordlhotka
Comment options

@Art666OTS
Comment options

Answer selected by Art666OTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants