BLB executing Dataportal_Update with non-dirty objects
Hi,I have a BLB-object (we can call it list) which holds 5 BB-objects. After I have added a new object to the collection I then use list = list.Save(), and it then enters my Dataportal_Update (where I...
View ArticleMultiple Dependent Property Updates
I've the following properties: Date1, Date2Any time one of those two properties changes they are compared and the Difference property is updated where Difference is the number of business days between...
View ArticleChild_DeleteSelf() not called from parent
I have a parent object that inherits from BusinessBase and a child object that inherits from BusinessBase. The child is an object contained within the parent. The child object is a regular business...
View ArticleInsert or Update 2 different objects within a single transaction
Hi,I have 2 business objects say ObjectA and ObjectB. ObjectA has a set of child objects. So i have transaction attribute applied to the DataPortal_Create and DataPortal_Update of ObjectASimilarly...
View ArticleObject Authorization Rules
I would like to implement object authorization rules on my employee object. However the complication arises from the fact employees are grouped in payroll groups such as Confidential payroll, Middle...
View ArticleSpecify fixed size for business list?
Is there a way to specify the size of a business list on creation? I have a business list that when created has some attributes pulled out of a config file. One of those attributes is a flag indicating...
View ArticleVersion 4.5.33 beta release
I have put version 4.5.33 beta up on nuget. This is leading up to the 4.5.40 release that I expect to put up at the end of next week.This release adds updated Android support using Xamarin.This release...
View ArticleCanExecuteRemove not working in CslaDataProviderCommandManager in CSLA 4.5
I updated a fairly old project to use CSLA 4.5, and suddenly noticed that my Delete buttons linked to the CommandManager of the CslaDataProdiver were not getting enabled when they should. After...
View ArticleAbstract class design & development
Hi,I have an abstract class Company and derived classes AutoDealer, Fleet, etc...There exists differences in autodealer and fleet companies. Both have some common data and functionality which I want to...
View ArticleCan't build against 4.5.30?
I'm trying to incorporate Csla 4.5.30 into a project built on .Net 4. I see that when I installed Csla under bin there's a NET folder and a NET4 folder; I assume NET contains Csla assemblies compiled...
View ArticleUpdated from 4.2.2 to 4.5.10 and now WcfPortal service no longer works
I have a SL app that has been working fine with CSLA 4.2.2.0 which I updated to use 4.5.10 and now the service no longer works. I get the 'The type 'Csla.Server.Hosts.Silverlight.WcfPortal', provided...
View ArticleASP.NET Reporting
Thanks and excuseme my english.I need help for make a report using MS reporting tool and usingmy csladatasource. How to to binding to my report. ?ThanksAlejandro from Chile SudAmerica
View ArticleSerialization bug revisited?
Hi everyoneWe've recently upgraded to CSLA 4.5.30 using NuGet.Our application loads plug-ins from different directories using MEF. When a plug-in hits DataPortal.Execute() inside a command derived from...
View ArticleProblem in child object
Hi All,I'm very new for CSLA.NET. Can anyone suggest me how can I handle this scenario?I have OrderMaster root object and 2 child objects OrderDetails and OrderAddress in web form. I can create/Update...
View ArticleBusinessRules hanging around with unit tests
I have a set of unit tests testing the properties and rules of my business object. My business object has a string property called Frequency, and I attach a rule to that property that checks the string...
View ArticleData type conversion in Business rule
Hi,I have a business rule, Where i need to assign a value to the property. However, the tricky part is the casting the value to the type of property. For example: in business rule call:...
View ArticleWCF Service examples?
In the downloaded CSLA examples, I have not found any that implement a WCF service. The CSLA 2008 alludes to ProjectTracker containing WCF service examples, but the latest Project Tracker no longer...
View ArticleAsync Execution - ThreadPools, BackgroundWorker??
Guys, hope eveyone is well, but need some advice.I have a class, and that class has children. Each child is going to connect to a database, calculate some values and return. At the moment this run in...
View ArticleCslaModelBinder and OnChildChanged problem
Hi My code below works as expected in a unit test but fails when using the MVC CslaModelBinder. In this case OnChildChanged is not called. I think also it would be better if I could invoke the sibling...
View ArticleProblems with Csla.ApplicatinContext in WCF service
I've created a WCF service that has a method that performs several things including async calls to populate a few CSLA collections.I store a value in Csla.AppicationContext.ClientContext that is used...
View Article