-
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
-
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'm using CSLA 4.2 and the above subject is not working on my PC when i put something on the roles part. Did i miss something? Below are sample code snippets: protected static void AddObjectAuthorizationRules() { Csla.Rules.BusinessRules.AddRule(typeof(SomeClass), new Csla.Rules.CommonRules.IsInRole...
-
Hi Folks, - Using silverlight 4. Csla 4.2 Bxf and MVVM design pattern I am designing an SL application and I am struggling to get my List to bind correctly to my observable collection from my viewmodel. Actually, I am using an observable collection ( UserEditVM. MessageInfoList ) to wrap all the children...
-
Hi, We are using the 3-tier architecture environment for our web application. We are using the AspNetMembershipProvider for authentication and authorization. On observing the example provided in Authentication folder, I've came up with couple of doubts. FYI: Web layer MVC3 (No Silverlight and WP7...
-
I have a ListView (ROL) and DetailsView( BO). in my Detailsview have a Delete Button that invoke BO.Delee method directly. according to http://www.lhotka.net/weblog/IAmWorkingOnMyUsingCSLANET30EbookAndWroteSomeContentThatIDontThinkImGoingToUseInTheBook.aspx notify the ROL the Add and Update. but how...
-
I have a business object and a corresponding database table called Role. In this table I am preloading two default records. The first is named "Administrators" and second is named "Users". I want to allow people to add, edit, and delete roles, except for these default ones. I was...
-
My company has recently started using Agatha ( http://davybrion.com/blog/category/agatha/ ) as a business framework for some prototype work. It's really new (read: not mature) and I have some reservations about using it as opposed to a framework such as CSLA that has a lot of years behind it. Agatha...
-
I want to disable the RemoveButton per Instance. In the sample (05-WpfSl-111028) the Removebutton in ProjectList View binding to ProjectList ViewModel's CanRemove: public new bool CanRemove { get { return Csla.Rules.BusinessRules.HasPermission(Csla.Rules.AuthorizationActions.DeleteObject, typeof...
-
Hello, We have just updated our project to use CSLA 4.2.1.0. We are binding a Read Only List in WPF which is working fine. The weird thing is that if I look at Intellitrace I see and exception being thrown/caught. "Could not load file or assembly 'Csla.Xaml.Aero, Version=4.2.1.0" I'm...