What's New

For a full change log of all the new features and bug fixes for each version of CSLA be sure to look at the CSLA Release Blog.

CSLA 4.0

  • Added support for Generator 6.5 (The CSLA 4.0 Templates require Generator 6.5).
  • Added support for generating from Stored Procedures and Views.
  • Added support for CSLA 4.3.10.
  • Updated the templates to use the latest version of SchemaHelper (many improvements to association detection, naming conventions and much more).
  • Added various List Business Object enhancements. The generated list Business Objects now contain the following methods Get, GetByCriteria, Remove, Contains and ContainsDeleted.
  • Added support for generating off of key less Data Sources.
  • Added the ability to exclude associations from being generated.
  • Templates now generating Async methods by default.
  • Added Beta LINQ-to-SQL Support (contrib: Joe McPherson). This requires generating PLINQO for LINQ to SQL and is not documented.
  • Improved support for Silverlight, NameValueLists, ObjectFactory, Composite Keys and Child relationships.
  • Added support for IncludeExpressions, you can now specify a Regex for only the entities you wish to include.
  • Added support for better Friendly Names in regards to generated properties. To override the default Generated Friendly Name, simply add an ExtendedProperty to the database column called CS_FriendlyName.
  • Improved workflow for Criteria generation. They will now be automatically generated based on the entities you select.
  • When the DataAccessImplementation is set to none, the data access partial classes will not be regenerated.

CSLA 3.0.2

  • Fixed a bug where a FileLoadException would be thrown when selecting a table on any master template deriving from EntityCodeTemplate.

CSLA 3.0.1

  • Added support for CSLA 4.0.1
  • Added Silverlight support for the Command Object.
  • Added a ChildLoader to facilitate Silverlight lazy loading.
  • Added a partial method override for OnChildLoading.
  • Added the ability to specify a child class name. This is so you can create a list and specify what the child type should be.

CSLA 3.0

  • Added support for CSLA 4.0.
    • Updated templates to support the new Rules Engine.
    • Updated support for the latest CSLA 4.0 Business base classes.
  • Added Silverlight 4.0 support (Requires CSLA 4.0).
    • Updated Framework Samples with a Silverlight project.
    • Supports Lazy Loading of Child properties.
    • Preprocessor directives.
  • Added Support for Visual Studio 2010 and the .NET Framework 4.0.
  • Added EditableRootListBase or DynamicListBase Business Object Type Template.
  • Added New Partial Overrides to make customization even easier.
  • Increased business objects naming detection support.
  • Added Namespace support for the Visual Basic Templates *Breaking Change.
  • Added better support for composite keys and guid columns.
  • Added better support for grand -children and great grand-children.
  • Updated Collections to not throw an exception when no records are found *Breaking Change.
  • Added Collection Unit Tests to the sample applications and updated NUnit.
  • Added beta unit tests templates for the CSharp Version (These were contributed by the community and will be built and expanded on in future releases).
  • Added support for passing down parent information to children when creating new children.

CSLA 2.0

  • Added SQL Stored Procedure support
  • Added Object Factory support.
  • Added merge region support as well as support to actively generate stored procedures.
  • Added ExistsCommand, this does a database lookup to see if an item exists in the database.
  • Added support for generating ReadOnly business objects along side of an Editable business objects.
  • Added Column and Table renaming support.
  • Moved all repetitive template logic into sub templates (common folder)
  • Added support for the new ByPassPropertyCheck in CSLA 3.8.
  • Updated the templates to CSLA 3.8.2.
  • Fixed detection logic for GetBy Critiera.
  • Fixed many bugs dealing with Child objects and how they are populated.
  • Added partial method hooks for the DataPortal methods.
  • Updated the templates to throw an exception when a record doesn’t exist.
  • Added support to rename a non identity primary key column.
  • Fixed many other template bugs.

CSLA 1.1

  • Visual Basic support
  • Added generated authorization rules based on work described here.
  • Fixed a bug where a Column that is a primary key and a foreign key was not handled correctly.
  • Fixed a bug where many to many tables would be excluded from the Entities collection.
  • The CleanExpression and IgnoreExpression are now case insensitive.
  • Fixed many small template bugs.

CSLA 1.0

  • Working data access layer with concurrency support.
  • Support for completely overriding the generated rules.
  • Generates three partial classes per business object.
  • Generates a common business, data and UI layer.
  • Quick start.
  • Implements all 14 object types.
  • Detects and generates properties and child objects for the following database relationships (One to Zero or One, One to One, One to Many, Many to One, Many to Many).
  • All DateTime data types are generated as Csla.SmartDate
  • Correctly handles Binary Database fields (E.G Images, TimeStamp)