4.5 Does the framework automatically run rules for child lists or is...
I have a simple business rule that watches a child businesslistbase and checks if .Count > 0Do I have to manually call that rule in the OnChildChanged override...or does that happen automatically...
View ArticleFieldManager.UpdateChildren calls in Parent-Child-GrandChild
I see in ProjectTracker...the ProjectEdit calls FieldManager.UpdateChildren(this)This hits framework code in the listbase which loops through calling Update/Insert/Delete on its children.If I have...
View ArticleChild dataportal option to send calls to application server
Is it possible...SCRATCH THAT...Is it reasonable and useful to add a bool to the DataPortal.XChild calls so that you can control whether it goes across the barrier or not? Wouldn't that make things...
View Article3.8ish - Null Date Time Picker
I've been out of this for a bit. Can someone give me a small example of using the smart date so that the datetimepicker can be blank until someone sets a date (vb please). Thanks in advance.
View ArticleI need a working sample With ADO.NET Entity Framework EF 6
I need a working sample With ADO.NET Entity Framework EF 6
View ArticleMoving from 3.8 to 4.5 confused about best way to go with private backing fields
I just got a contract to upgrade a pretty unique CSLA 3.8 business layer to 4.5. Because of the way they do property backing I am confused as to how to move forward. Oh and it is VB.NET :-(Several...
View ArticleIgnore a lazy loaded readonly object (NonSerializable)
CSLA 4.5On a EditableBusinessObject, I might have a ReadOnly lookup object that is lazy loaded.My question is this: how do I keep that from getting saved into the graph when it is being serialized with...
View ArticleBooks, Training etc
HI,I have 3.8 movies and CSLA4 .pdf books that I got a couple years (or so) ago.We are about to start a new project using MVVM, WPF/SL and I would like to update myself with a new information...
View ArticleShouldn't AllowNew, AllowEdit etc. be protected?
In fact in Rocky's CSLA 4 DataAccess book on page 120 he says this:If you want to disable the AddNew behavior you should set the AllowNew property to false. For example:public SkillEditList() {...
View ArticleHow much async is too much?
For an ASP.NET MVC application I'm wondering how much is too much. Here's some example code that I've tried to make as async as possible.For MVC, at what point is async not doing us any favors?Drilling...
View ArticleSpam issues
As you've probably noticed, we've had a major spam attack over the past few weeks. I've tried a number of things to address this, and I _think_ I finally have some sort of solution.I've set the forum...
View ArticleMassive Memory Growth with saving using DataPortal (CSLA 3.8.4.0)
We having been using CSLA for the better part of 2 years now, no real issues. We have discovered a issue with some new code when we go to save a lot of rows.Our memory usage for our app typically...
View ArticleDataPortal_Fetch not implemented
I try ProjectTracker with SL with CSLA 4.3.14.0I got this message "DataPortal_Fetch not implemented" on LogIn procedure: public static void GetPTIdentity(string username, string password,...
View ArticleCSLA 4.2.2 to 4.5.x
I am implementing the upgrade and after a namespace fix, I am running into the following: I have a DataPortal_Fetch that looks like:Private Shadows Sub DataPortal_Fetch(ByVal criteria As ...)...Using...
View ArticleManaging Business Component Dependencies
Hi,One of the great things about CSLA, in my opinion, is the ability to write multiple clients across different platforms.Does anyone have practical experience they could share when making a breaking...
View ArticleMVC 4.5.40?
Howdy howdy,First off, Rocky, I just read about your major event, and I just want to say I wish the best to you. I've learned a lot about n-tier architecture and good practices from you and I really...
View ArticleManually break an object rule on parent
Working on a project where there is missing Ref Int on the SQL database. Business objects have to handle scenario of missing data by IDs. (ugh I know).During lazyload of child collection, if I detect...
View ArticleCould not load file or assembly 'csla, version=2.1.4.0, culture=neutral,...
Hello Everyone,We have upgraded the CSLA version from "2.1.4" to "3.5.3", after testing the csla new changes in the developer environment we recently pushed our changes to the QA environment and after...
View ArticleEditable collection with properties
Rockford Lhotka says:"Collections do not support direct declaration of properties, so you can’t implement properties in this class. If properties are required in addition to the list of child objects,...
View Articleserialize variable on BusinessListBase?
If I add a private variable on my BusinessListBase...how or can I serialize it so it is still there on the other side of the WCF portal?Say like this?TestList BusinessListBase(of Test)private...
View Article