All features and corrections refer to CSLA4 target projects, except when stated otherwise.
Note 2 - Except for Silverlight code, the generated code runs under CSLA 4.5.x, using "old style" sync/async DataPortal_XYZ methods.
Note 2 - Before attempting to generate anything, go to the Tools menu, and select Locate Template Directory. Now point to the top directory of where your templates are.
Targets CSLA 4.3.13 (NET 4.0, Silverlight 4 and Silverlight 5)
Note 1 - On Silverlight and Windows Phone projects, use the SILVERLIGHT Conditional compilation symbol.Note 2 - Except for Silverlight code, the generated code runs under CSLA 4.5.x, using "old style" sync/async DataPortal_XYZ methods.
Changes since Nightly Build 2012.03.11:
UI new features
- Menu option to change timestamp (RowVersion) properties to ReadOnly and not Undoable
- Menu option to convert DateTime to SmartDate properties
- Menu option to force backing field on SmartDate properties
- Menu option to convert Properties and Criteria to be Silverlight compatible
- Creation gesture for ReadOnly and ReadOnlyCollection from views and stored procedures
- Add INFORMATION section to output report
- Auto retry generation when target file is busy
- ValuePropety ParameterName isn't changed by the UI
- BussinessRule constructor can have up to 10 overloads
- ValuePropety and ConvertProperty for RO objects default to ReadOnly
- Hide "MarkDirtyOnChange" for CSLA40
Generation new features
- Port DeepLoad feature to DAL (DTO)
- Re-activate Updated Value Properties
- Refactor Converted Value Properties so no backing field is used
- "Invalidate Cache" option on EditableRoot, EditableRootCollections and DynamicEditableRootCollection
- "Reject Duplicate Items" option on collections, that checks for duplicate items on collection Add method
- Generate ReadOnly and ReadOnlyCollection from views and stored procedures
- Added commented region OnDeserialized on Extended file
- "Class Visibility" option to allow internal classes
- Generate Undelete factory method
- Generate private PropertyInfo for Silverlight 5
- Add conditional compiler directive ASYNC for async LazyLoad
- Introduce Unit of Work CreatorGetter
- Automatically composed Unit of Work criteria
- Root objects can use Unit of Work type (on create and on fetch)
- Unit of Work caches all cacheable objects
- Factory generation support for Local / non-Local DataPortal
- Allow missing DBColumn in Criteria properties
- Generate stored procedures before code
- Generate stored procedures support for automatic undelete (when using SoftDelete and PrimaryKey isn't database generated)
UI improvements
- Creation gesture for EditableChildCollection objects: fills the DeleteProcedureName
- Creation gesture for ReadOnly objects: properties default to ReadOnly.
- Improve stored procedure generation error report
Generation fixes and improvements
- Several fixes and improvements to XML code comments
- Several fixes and improvements to validation
- Only validate objects that are due for generation
- Fix and improve "using" generation
- Fix remote (not LocalOnly) DataPortal_Create
- "Use public PropertyInfo" isn't honoured
- "Use Contains Methods" isn't honoured
- "NotUndoable" isn't honoured on fields of Managed properties
- LazyLoad is using client side DataPortal
- Simple Cache isn't caching at DataPortal level
- Table schema is missing on stored procedures in some cases
- Get factory method is missing when using Custom Loading Scheme
- NameValueList is missing "sync" factory method under Silverlight
- "Generate child factory" generation option is missing synchronous factory methods
- "Update Only Dirty Children" generation option defaulting to true
- Csla Authorization Provider is missing property name
- Fix wrong generation of Collection Business Methods
- Fix wrong generation of inheritance for collection types when project is WindowsForms only
- Fix Guid issue showing only on CSLA4DAL projects when Guid is Guid.Empty
- Major fixes to Silverlight using services
First timers - To use or try this project, you must download both files: CslaGenFork and Templates.
First timers - Most important, you must download the free CodeSmith extension or else you won't be able to do any operation at all.
Note 1 - You don't need to install CodeSmith; just follow the CodeSmith setup guide and yes, CslaGenFork runs on Windows 8.Note 2 - Before attempting to generate anything, go to the Tools menu, and select Locate Template Directory. Now point to the top directory of where your templates are.