-
Hi, I am pretty new to CSLA and I am trying to introduce a BL on top of the already built DL. The DL is build using EF4.3 and the DBContext. I am starting to face some challenges but I am not sure whether it's due to a bad implmementation or an inherent incompatibility between the tools I am using...
-
The challenge here is to implement a solution that doesn't cause a memory leak. In concept , you can have some global reference to the PersonInfoList, and in the Saved event handler of the PersonEdit object you can just update the PersonInfo object with the new data. Or variations on that theme....
-
I frequently struggle with determing which object should be the root object in a group of related objects. As a result, I feel my object graphs and relationships end up being too large and complex and consequently not very performant. By the end of setting the class realtionships up in an application...
-
Do you want the validation error to appear as part of the parent object that contains the collection, or the child object(s) in the collection? Either way, you should consider overriding OnChildChanged in the parent object that contains the collection, and that's where you should either trigger the...
-
Hi, Is there any possibility to know when the code is being executed in the nearest tier to Database Server??? I mean, in the same tier where Dataportal_Execute is being called... There is some process in my application that needs to do several data operations over multiple objects and I'm trying...
-
First, if you want your client and server to be loosely coupled, you should be looking at the creation of a service-oriented system that is composed of 2+ applications. None of these applications should share any code - they must be independent in order to achieve independent versioning and remain loosely...
-
In the relatively short time using CSLA I found that the individual business objects can be designed clear, stable, and almost identical across the different user stories. What really differs is the object graph. They are smaller or broader, from A to D or from C to F. With a user story specific graph...
-
(disclaimer: I'm on heavy-duty pain killers due to having hernia surgery yesterday - so this could be rambling and might use metaphors that are overly florid) One area where my view has changed over my career is "reuse of code". Like most people, I used to think that reuse was a primary...
-
They might be "presentation oriented". But I suggest that any object model that is properly designed to meet a use case or user story will, almost by definition, fit smoothly into the presentation. This is because the presentation is also designed to meet the same use case , or story. It is...
-
I know, there have been very similar posts some years ago, but I think at least two things have changed: The unit-of-work principle has beome prominent, and we now have an object factory option. The scenario is basically that of post " Multiple modules with each there own businessobjects "...