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.
    • TransactionScope doesn't rollback on exception

      I have a BO (Country) with a child BO (State) which also has a child BO (City). When I update the parent BO (Country), add a child State and run save, when an exception occurs in the DAL (on purpose), the transaction is not rolled back. I am using SqlCE. I am attaching a sample stripped down project...
      Posted to CSLA .NET discussion by mmedic on Tue, Feb 12 2013
    • Change of Modifer in CSLA4.5

      Hi, I was trying to upgrade my application from CSLA 4.3.13 to CSLA 4.5, and the code didn't Compiled. Noticed that public virtual T Save() of abstract class BusinessBase<T> is changed to public T Save() of abstract class BusinessBase<T> Is there any specific reason of removing the Virtual...
      Posted to CSLA .NET discussion by NET-H24 on Thu, Dec 27 2012
    • Sorting/Filtering

      Hey, I'm having problems sorting and saving. If I apply a sort to a BLB and then save i get an "edit level mismatch error". I've tried this scenario with v4.1 and 4.5, but i get the same error. There has been much discussion on this topic, but nothing recently so has it been resolved...
      Posted to CSLA .NET discussion by JasonG on Mon, Dec 10 2012
    • Logic before Save (Save no longer override)

      In CSLA v 4.5 the method Save is no longer overridable. How can I run some logic before the actual Save takes place? Specifically I need to check a permission for which I cannot use the Authorization rules.
      Posted to CSLA .NET discussion by correodemarques on Wed, Nov 21 2012
    • Synchronizing ReadOnlyList with EditableBusinessObject

      Hello, given the following business and UI layer: PersonInfo : ReadOnlyBase<PersonInfo> PersonInfoList : ReadOnlyListBase<PersonInfoList, PersonInfo> PersonEdit : BusinessBase<PersonEdit> PeopleListViewModel : ViewModel<PersonInfoList> PersonEditViewModel : ViewModel<PersonEdit>...
      Posted to CSLA .NET discussion by Alexander Becker on Mon, Mar 12 2012
    • Parent does not update after child has changed

      Hi We're using CSLA 2 with VB.Net 2005. I'm able to open a child record and update the child and the parent after the first save, but if a user changes something else, and wants to save again, the child gets updated but the parent doesn't, so it has a result of not updating the record in...
      Posted to CSLA .NET discussion by ksavoie on Tue, Feb 7 2012
    • Use ViewModel<T> Save Method, the Model Rebind.

      If invoke the method save of ViewMode<T>, the UI will rebind to the BO. if the T is BLB , i don't want the user to find the new or just edited row after click the save button. but i override the method Save as below: public override void Save(object sender, ExecuteEventArgs e) { Model.ApplyEdit...
      Posted to CSLA .NET discussion by simon on Tue, Aug 30 2011
    • Changing the order that items are saved in

      Hi there folks, I'm hoping someone can give me a nudge in the right direction here! Basically I have a list of "order detail" lines (orderline) that are held in a BusinessListBase (orderlinelist) which is in turn a property of my Order Header (orderheader). Now when I call the save on my...
      Posted to CSLA .NET discussion by Mordy on Mon, Jul 4 2011
    • Problem while saving the child in WPF

      DataPortal.Update failed (Csla.DataPortalException: ChildDataPortal.Update failed on the server ---> Csla.Reflection.CallMethodException: Child_Update method call failed ---> Csla.DataPortalException: ChildDataPortal.Update failed on the server ---> Csla.Reflection.CallMethodException: Child_Update...
      Posted to CSLA .NET discussion by Barjinder Singh on Mon, Jun 20 2011
    • Why objects don't auto-update their data with the returned instance from server?

      I'm a newbie to CSLA and don't understand why the Save method must return an instance to be used to update all references to the current saved instance. It seems to me that using reflection we could have a generic procedure to auto-update all the current instance fields using the returned instance...
      Posted to CSLA .NET discussion by Codelines on Thu, Apr 28 2011
    • Saving business object in Mono

      I have a simple editable child list bound to a DataGridView control. After making changes to the grid, I use ApplyEdit() and Save methods to save the root business object (thereby saving my child list). This works in Windows .NET perfectly fine. On Mono, however, saving the root object provides the following...
      Posted to CSLA .NET discussion by TygreWolf on Mon, Mar 28 2011
    • Validation

      Hi We are using CSLA version 2.0 on .NET 2.0 VS2005. In my project, I'm using a datagridview, with child data. In the design, we add extra rows to the datagridview on the Fetch. We do this so that the user doesn't have to add additional rows; they are only allowed a certain number. Any ways that...
      Posted to CSLA .NET discussion by ksavoie on Wed, Jan 26 2011
    • Saving in windows form

      Hi We are using CSLA version 2.0 on .NET 2.0 VS2005. We notice something and we don't know if we are the only one that this happens to and if there's a fix for it. So here it is... We build our Windows form no problem, we can fetch the information no problem. When we do a modification in a field...
      Posted to CSLA .NET discussion by ksavoie on Thu, Jan 20 2011
    • EditLevel Mismatch In CopyState

      Hi Everyone I’m writing this post after reviewing a few threads about this situation and it didn't help does anyone know/have a workaround on this matter of EditLevel mismatch in copy state I’m so lost Im Currently using Csla 4.000
      Posted to CSLA .NET discussion by vbbeta on Mon, Nov 1 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
    • Re: Saving Not being called IN BindingListBase(Of Items, Item)

      I guess I didn’t explain what my problem is. Let me explain you the whole scenario I have a class that contains transaction “BB(Of Transaction) and each transaction has a list of items and each item that is being entered in the BLB(Of Items, Item) should be saved when I’m calling the...
      Posted to CSLA .NET discussion by vbbeta on Fri, Oct 15 2010
    • Saving Not being called IN BindingListBase(Of Items, Item)

      I have this odd thing behavior in my BB When the BB IsNew then the insert works just fine saves all the BusinseBase(of xyz) objects and the BUsinessBindingList(Of) but when temp = Transaction. Save is called and then i add new items to the binding list of items all the settings is just fine IsDirty on...
      Posted to CSLA .NET discussion by vbbeta on Thu, Oct 14 2010
    • Re: Question about FieldManager.UpdateChildren

      There is no way to specify order, other than you doing a manual DataPortal.UpdateChild() call on the relevant items in the sequence you want. If only one of the child objects was order sensitive you could do that call first and then use the standard FieldManager.UpdateChildren().
      Posted to CSLA .NET discussion by Marjon1 on Wed, Sep 22 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