CSLA 3.0.1

New Features Bugs Exceptions Usability Problems Known Issues

New Features

  • 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.

Bugs

  • Fixed a breaking bug in CSLA 4.0.0 with private backing fields.
  • Fixed a bug where the new DynamicListBase classes were not being generated for ObjectFactory.
  • Fixed a bug where varchar(MAX) would create a rule with the size of -1.
  • If you are using the master template’s for each template type. You must now specify the full class name *Breaking Change: You will need to append List, Criteria, Info… To all of your outputs. You now have 100% control over the naming.
  • Fixed a bug where the Child_Update method specifies identity key parameter as output instead of input.
  • Fixed a bug where the Child_Update must be called FieldManager.UpdateChildren() for SwitchableObjects.
  • Renamed the QuickStart Assembly to CodeSmith.QuickStart as Telerik also has an assembly called QuickStart and this was causing exceptions.
  • The whole list of bug fixes can be found here.

Exceptions

  • Fixed a bug where the Child_Update method caused runtime exception because reader("anyvariable") was not found.
  • Fixed a bug where an exception could be thrown when trying to load SchemaHelper.

Usability Problems

  • Fixed the determination logic of EditableRoot vs EditableChild objects. The relationships were being detected incorrectly during the QuickStart.
  • Fixed a bug where ignored tables could still be generated.
  • Fixed a bug where Stored Procedures marked with CustomProcedure extended attribute would be overwritten.
  • Fixed a bug where preserved regions could be overwritten on regeneration.
  • Moved the partial method declarations to the generated partial class.

Known Issues and pending enhancements

  • There are a few minor edge cases that we are aware of that have been logged on our issue tracker located here. Please take a look at the existing logged issues and vote on what you would to like to see next. If you run into any issues or have any feedback, please log it here and we will take a look at it.

Download CSLA templates

Download PetShop Visual Basic or CSharp Sample Applications