-
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...
-
Hi All, I've just completed watching the CSLA Core and MvvM video series. We currently are utilizing the standard DataPortal_XYZ methods into an Silverlight application to retrieve our data but we want to move to utilize a separate DAL (BO invokes DAL) to have both DataAccess.MsSQL and DataAccess...
-
I am putting this out to everyone to get some input. Since mid 2008 I had been digging into SL and lovin' it. A little background - I am the sole developer (yea, DBA, .NET Architect, etc., you name it, I do it) and was architecting an enterprise application utilizing SLx, Csla, C# x (where x is a...
-
when we do a BeginRefresh("StaticFindMethod") it always work mulit times but not the BeginRefresh("StaticUpdateMethod") public static void StaticUpdateMethod(ClosingRegisterER model, EventHandler<DataPortalResult<ClosingRegisterER>> callback) { var dp = new DataPortal<ClosingRegisterER>...
-
Maybe I'm getting confused on the terminology, but in the DataPortal e-book, I see this quote: Because Silverlight doesn't support the netTcpBinding, you can't use this binding from a Silverlight client application. However, I see online articles that SL 4 opened up the possibility of using...
-
CSLA 4.1 / Silverlight exception: "Attempt by method 'Csla.Xaml.TriggerAction.CallMethod(System.Object, System.EventArgs)' to access method 'MyNamespace.SL.CustomerCallPlanVM.SetDay(System.Object, Csla.Xaml.ExecuteEventArgs)' failed." This same exact xaml works fine in my WPF...
-
I've read a number of posts about this in the forum and I'm also trying to learn from the e-books, but I'm still somewhat confused. For an intranet Silverlight app, I want to use Windows authentication. I had wanted my Silverlight 4 (CSLA 4.1) app to pass the Csla.ApplicationContext.User...
-
Technologies – CSLA 4/Silverlight 4 Here is my scenario. Object A (BusinessBase) | ----------- PropertyB (typeof(Boolean)) ----------- PropertyC (typeof(ChildListC) BusinessListBase) When property B is set to true, I require C to contain at least 1 child. To implement this, 1) I implemented a rule...
-
Hi Rocky, I have an Report Data object which has a collection of Report Sections & Report Summary Lines. Report Section class has a child collection of Report Lines. The object fetches all the data in a single database call (the stored procedure fetches all the data and returns 4 result sets). Using...
-
Hi Rocky, I have been reading your great ebooks. Using them as a guide I have been working on a Silverlight App that follows the setup of "AzureHost" solution in the "04-DataPortal-110426" sample folder. I have an Editable Root abject that all works normal as long as its size does...