CslaGenFork 4.0 RC
Project DescriptionO/RM code generator tool for CSLA.NET 4. It handles the generation of Business Layer and Data Access Layer code for Windows Forms, ASP.NET, WPF and Silverlight. It also generates Stored Procedures for SQL Server.
Currently there are only C# templates available for CSLA.NET 4. You are welcome to contribute with VB templates.
Check RC 1 status report - Encapsulated Invoke stage 1 is closed.
Read more on this subject. Moving to Encapsulated Invoke stage 2, aka
DAL DTO.
NEWS FLASH
2012 Apr 09 - Rules sample v.1.1.0 - download it here 
This is a DLL rules library you can freely use in your projects and the missing complement to the new
Import Business and Authorization Rules from DLL feature.
New on this release:
- added projects for Csla 4.3.10
- 6 new business rules
Note - Source code is available as a single download file.
Maintenance release. Template improvements and an important fix to a bug that prevented the creation of new projects.
2012 Feb 21 - DeepLoad sample v2 - download here
The
DeepLoad sample project tests the loading part of a 6 levels deep data structure, from Continents to City Roads. New features:
- Uses meaningful names on tables and objects
- New VS2010 solution using DAL DataReader
2011 Jul 02 - Cheat Sheet contents includes:
- How to create objects and collections by point and click
- How to create child objects and child collections by point and click
- What are those dreaded Parent Properties
- How to use DataAnnotations validation rules

This blog post explains the restrictions of Silverlight code, the solutions to the issues they raise and how to use the generated code.
Other News:
If you were told generated code is bug ridden or rigid or code gen tools are just toys then have a second opinion.
If you had some bad experiences with CslaGen or other code gen tools then you don't need a feature list but an argument list.
No, you are not sent out to the wild on your own. We try to help all the way. Or at least, some of the way...
- How do I start using it?
- How do I organize myself?
- Do I need some tools?
- Where do I fetch the free CodeSmith engine?
- Is there a suggested workflow for codegen?
Is there a sample?There is a work in progress started 2011 Feb 15. Look under the
Documentation tab or go straight to the
Invoicing sample.
Is there a FAQ?Of course there is! It's brand new and it's a moving target meaning I'm adding questions every now and then.
Read it
here (2010-12-08 update).
Useful links:
About the license...CslaGenFork is GPL 2 as CodePlex doesn't allow GPL 3. The GPL license is an inheritance from the original CslaGen code generator. Of course you can use the generated code as you like: sell, borrow, lend or even give away.
AcknowledgementsCslaGen couldn't exist without the free CodeSmith DLL. Great care was taken in not breaching the CodeSmith license agreement neither by CslaGenFork nor by anyone using it, Thank you
CodeSmith.