-
My use case scenario has defined these objects: Employee, User, Client. My database is structured similar to inheritance where the base table is named Entity (id, displayname) with a one to one relationship to Person(entityId, firstname, lastname) with a one to one to Employee/User/Client(entityId, …...
-
Hello, I'm trying to sort a GridView by a property of a child object. I'm able to successfully set the DataField of a BoundField to the child column ("Application.Name"), but this doesn't work for sorting. How would I go about accessing this child property in the ApplySort method...
-
For new business objects and projects that will be targeted only for .NET Framework 4.5 and beyond and WinRT, do I still need to program my Factory methods (New, Get, etc.) in my business objects with Callback EventHandler options - or can I just use the async/await format Ray Klaassen
-
Hi, there. I read Rockies documentation about responsibility-driven design. I still don't see the point why we need this. Can anybody give me a good starting point to read from, please. I used google and got some links. I didn't enlighten me much. How many do use this design technique? Coding...
-
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Hi all, I am working on a project using CSLA generated by codesmith and due to project considerations we will be re-generating quite often throughout the lifetime of the project. Due to these considerations, I am running into a...
-
Is there a way to tell if an editable business object was created/fetched async? I am looking into the idea of lazy loading child lists async or sync depending on how the business object was instantiated. At first I thought of using a similar method as running business runs async or sync: if (System...
-
Hi CSLAers: I have a doubt. Is there a way to add an object authorization rule depending a property value? I'm working in CSLA 3.6. I'm trying to do the following: Private Shared Sub AddObjectAuthorizationRules() AuthorizationRules.AllowGet(GetType(MyBO), "canget") AuthorizationRules...
-
I have parent root(Mater) object as BusinessBase which has BusinessListBase(ChildList) object as a child. Parent (BusinessBase) - Child List (BusinessListBase) - Child (BusinessBase) I have a custom business rule implemented in child object (BusinessBase of ChildList), which depends on parent root(Mater...
-
Hi, I've come across an odd scenario where a call to any of the N-Level undo related methods, such as BeginEdit(), causes an 'object reference not set to an instance of an object' exception. The object that I'm calling BeginEdit() on was built with CSLA 2.1.4 (I have other versions installed...
-
Hello all. I'm using Authorization Rules in my Business Objects but when any Authorization Rule is broken the message provided on the exception do not fits my needs. I was reviewing the implementation of the DataPortal class and CSLA throws a Security Exception and loads the exception message from...