-
What is the best way to add a new property to a business object? Currently I am using CSLAGenFork to generate business objects (.Library, .Dal, .DalSQL, and StoredProc). If each business object is modified with custom logic, calculations, new methods etc, It seems quite difficult to add a single property at a later date. Edits are required in multiple
-
Hi skagen00, The enumeration sounds interesting. Does it make the code any less readable doing it your way?
-
Hi JonnyBee, Thanks for the response and the link, This is exactly how I have previously implemented permissions. I had just forgotten that I took this tact. It's great to know that it is also a recommended solution.
-
Hi, I am transitioning from CSLA3 to 4. The new eBooks only really talk about IsInRole. I liked how the old CSLA used AccessGroups and Roles. i.e. "Administrator" group access could have many "Role" types. "Job_Read", "Job_Write", "Task_Read", "Role_thatAllowsYouToDoSomethingElse". The new
-
Hi All, I'm am using a DalFactory (shown below) but Type.GetType(dalTypeName); always returns null. The only way I am able to make it work is by adding a reference to the "MyProject.DalSql" project from "MyProject.Dal" I also need to instantiate an object of the type first; e.g. MyProject.DalSql.DalManager _dalmanager = new MyProject
-
Thanks Rocky! This is the answer I was looking for (it's good to know that a new/revised book is on the horizon). I've just received the download code for the eBook from the CSLA store. This should get me going until the new enhancements have their own eBook.
-
Hi, I have been using CSLA 3 for quite a while (started off with c# 2005 Business Objects) and it is now time for me to move on with the times and dive into the new CSLA 4.5. It looks like the current eBooks are for CSLA 4.0. My question is will the "Using CSLA 4 eBooks" be enough to get me going with CSLA 4.5 with prior knowledge of CSLA
-
Thanks Jonny. My project is a large winform project developed over a 4-5 year period. I originally started with CSLA with the Expert c# 2005 book. I am contemplating sticking with csla 3.0.2 and using WebForms rather than MVC for simplicity and a shorter learning curve. WebForms is actually outlined in the book. I will look at the codeplex example and
-
Hi SuperKuton, Thanks for your insight to the upgrade process. It sounds like you are creating a new project based on one of the samples and then cutting and pasting any code that will fit from your existing project? I would really like to avoid creating an entirely new project, but I guess it is an option. Perhaps maintaining two versions of the business
-
Hi Guys, I have a long standing project running on CSLA 3.0.2. Are there any guides available to walk through the process of upgrading to the latest framework? I understand that there have been many changes since version 3. The current project is a winform project originally built in VS2005 but upgraded to VS2008. I would like to explore options of