CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Site by Tags

    Showing related tags and posts across the entire site.
    • Issue Cloning Child List

      Hello, I'm trying to make a copy of a BO using the method that Rocky talked about in another post. My object graft looks something like this. I'm using CSLA 4.3. parent single child single child child list child list single child child list child list I have a static method on the parent object...
      Posted to CSLA .NET discussion by JasonG on Tue, Nov 4 2014
    • Execute Business rule on child object When Parent property has change.

      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...
      Posted to CSLA .NET discussion by Marsh on Mon, Mar 12 2012
    • Implementing Objects as Root or Child within hierarchical structures?

      Hello, after reading the CSLA4 books I am not sure how to implement the following scenario: given the following classes to build up a simple contact management: class Contact { IEnumerable<ContactRelation> RelatedContacts; } class ContactRelation { string RelationType; Contact RelatedContact; ...
      Posted to CSLA .NET discussion by Alexander Becker on Thu, Oct 13 2011
    • Re: Issue adding grandchild to child

      I havn't been able to find the source of this problem yet. But i didn't uncover another problem that is probably related. Changes to my Child ojects are not saving. I noticed that when i check my parent oject, the child that i just changed doesn't have the changes that i just made on the...
      Posted to CSLA .NET discussion by JasonG on Thu, Jul 21 2011
    • OnChildChanged Not firing from TryUpdateModel call

      I am working with an MVC 3 application using CSLA 4.0, and I have set in the global.asax to use the CslaModelBinder. I have a top level object that derives from BusinessBase<T> (I will call it Labor), and that object has a child collection (LaborLogList) that derives from BusinessListBase<T>...
      Posted to CSLA .NET discussion by EbenK on Wed, Jul 20 2011
    • Re: Changing the order that items are saved in

      Mordy, CSLA does indeed deal with children by first deleting and then inserting, this is the behaviour coded into the ChildDataPortal. If you want to take full control of the save behaviour then perhaps not using the ChildDataPortal is the answer. By not using the ChildDataPortal I mean don't call...
      Posted to CSLA .NET discussion by Chattererman on Mon, Jul 4 2011
    • How to set child property into null value when the root object is initialize

      HI All, please someone tell me how to set child property into null value when the root object is initialize... i need this because of my specific business case, i have a parent object that contain a lot of editable child property inside, and sometimes user can fill in some of the child information (not...
      Posted to CSLA .NET discussion by sutono on Thu, Jun 16 2011
    • ChildChanged Event Not Firing

      Hi, I wonder if someone can tell me where I am going wrong please... ? I have a simple scenario, i.e. a parent business object based on BusinessBase which in turn contains a child collection based on BusinessListBase which in turn contains a collection of business objects again based on BusinessBase...
      Posted to CSLA .NET discussion by NickTaylor on Sat, Feb 26 2011
    • CSLA 4 - using LoadProperty in Child_Fetch

      Hello all, I have a question regarding database access in the Child_Fetch method. I have a root object containing a NVL which is loaded in the DataPortal_Fetch using the following statement (in bold): private void DataPortal_Fetch( RootEditUserCriteria criteria) { //// TODO: load values using ( var ctx...
      Posted to CSLA .NET discussion by Mr X on Tue, Jan 11 2011
    • Child NVL combobox control not generated from DataSources in VS2010

      Hi all, I am experiencing behaviours which I hope you will be able to explain to me. This should be very simple but I can't get it to work properly. What am I missing? I am using VS2010, CLSA 4.0.1, Silverlight 4 and bxf. I created a root user object which contains a child NameValueList property...
      Posted to CSLA .NET discussion by Mr X on Thu, Dec 23 2010
    • Swapping A Child Object Between Two Collections

      Hi, I wonder if anyone can tell me if this is possible please ? I have a parent business object ( based on BusinessBase ) which in turn contains two child collections ( each based on BusinessListBase ). In this particular scenario I would like to be able to swap objects from one collection to another...
      Posted to CSLA .NET discussion by NickTaylor on Fri, Dec 10 2010
    • CancelEdit problem - New Child not removed

      Hi All, I've seen a few posts (i.e. http://forums.lhotka.net/forums/p/6514/31450.aspx#31450 ) in which issuing the CancelEdit on the root object does not remove newly created child objects. I have just encountered this situation and wondered if there was a solution. CSLA version: 4.0.30319 In our...
      Posted to CSLA .NET discussion by Phlar on Fri, Nov 5 2010
    • Another Undo question with a Business base with a child collection bound to DevExpress Grid

      I know this type of question has been rehashed time and time again and I should think that forum members are probably sick to the back teeth with this subject but I have looked high and low on the web for a solution to a problem and I just can't seem to get a sensible solution. I am using CSLA 3...
      Posted to CSLA .NET discussion by timster on Mon, Oct 25 2010

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems