CSLA .NET

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

Browse Forum Posts by Tags

Showing related tags and posts for the CSLA .NET Framework group. See all tags in the site
  • Edit level mismatch in UndoChanges - only when I have a broken rule

    I have a Silverlight 4 application and just recently added some validation to one of my root object's children. One of their fields value must be greater than 1, so I added a new business rule: BusinessRules.AddRule( new Csla.Rules.CommonRules. MinValue < int >(MyProperty,1)); The children...
    Posted to CSLA .NET discussion (Forum) by Mr X on Thu, Oct 4 2012
  • syntax for csla 4

    In my pre csla 4 code I have [RunLocal] protected override void DataPortal_Create() { _userID = -1; ValidationRules.CheckRules(); //cannot resolve ValidationRule compile error here } What is the syntax when porting to csla 4.0 ? thanks
    Posted to CSLA .NET discussion (Forum) by gullu on Mon, Aug 20 2012
  • Apply authorization to childcollection items based on parent property

    I am trying to authorize editing child collection's items based on the value of the root object. Can't seem to find any example in the samples projects nor any mentions in the Csla 4 books. I found many examples on how to authorize modifying properties or executing methods but they all refer...
    Posted to CSLA .NET discussion (Forum) by Mr X on Sun, Jun 17 2012
  • Custom Business Rules

    I am having trouble implementing two very simple business rules, one updater and one validator. The first rule, verifies if a bool property "IsSelected" is true. If so, it sets the value of a second (a string) property to "". The second rule creates a broken rule if the second property...
    Posted to CSLA .NET discussion (Forum) by Mr X on Thu, Jun 7 2012
  • Issue with Validation Rules Refreshing with Prism...

    Hello, We are using CSLA 4 and Prism 4 for a WPF application. Currently, we are using the CSLA.ViewModelBase for our view models. The first time I navigate to a view, the object is created and the validation errors show correctly. The issue comes the second time I load the view. It seems like the PropertyStatus...
    Posted to CSLA .NET discussion (Forum) by reagan123 on Wed, Dec 7 2011
  • How can I use this.Parent.Parent?

    Hi, I have the following object graph: - BusinessBase< List> o BusinessListBase<ListCultures> § BusinessBase< ListCulture> o BusinessListBase< ListItems> § BusinessBase< ListItem> § BusinessListBase< ListItemLiterals> · BusinessBase< ListItemLiteral>...
    Posted to CSLA .NET discussion (Forum) by Mr X on Wed, Aug 17 2011
  • Need help shifting from Winforms to WPF/MVVM

    Hello, I'm trying to shift from using Winforms/CSLA 3.1.7 to WPF/MVVM using the current CSLA release. I'm having issues on translating my winforms UI approach. The old approach typically had a grid that was bound to a read only list of objects. Once the user selected an item, I would then fetch...
    Posted to CSLA .NET discussion (Forum) by reagan123 on Wed, Aug 3 2011
  • CSLA performance issues with large data sets

    Normal 0 false false false EN-US X-NONE X-NONE Hello folks, Though CSLA works quite nicely with smaller datasets I am seeing a performance issue when accessing larger data sets. In particular I have a CSLA Read Only List Object that in some cases could contain over 19K child elements. In these cases...
    Posted to CSLA .NET discussion (Forum) by Fernando on Mon, Apr 18 2011
  • Unable to use parameters in DataPortal_Create in CSLA 4.0.1

    Hi, I am unable to specify parameters to my object's DataPortal_Fetch method. I seem to have read somewhere that this method should accept parameter of any built-in type (int, string...) or criteria objects. protected override void DataPortal_Create( MyCriteria Criteria) { //TODO: load default values...
    Posted to CSLA .NET discussion (Forum) by Mr X on Fri, Mar 25 2011
  • Cancel does not always refresh child lists

    Hi, When I modify a root object and cancel the changes, the root object is reverted to its orignial state but its child lists do not always reload. Did anyone experienced this before? Ex; Have a "User" root object with a list of associated projects. When I cancel changes made to the user, its...
    Posted to CSLA .NET discussion (Forum) by Mr X on Thu, Mar 17 2011
Page 1 of 4 (38 items) 1 2 3 4 Next >

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