CodeSmith CS Templates for CSLA 3.6

CodeSmith CS Templates for CSLA 3.6

Old forum URL: forums.lhotka.net/forums/t/6251.aspx


rasupit posted on Sunday, January 25, 2009

I have just upload a template suite intended for CSLA 3.6x.  This is an upgrade from from previous version which target v3.5. 

Here is some notable changes:
- remove redundant argument on LoadProperty, ReadProperty, GetProperty, SetProperty, RegisterProperty
- use GetPropertyConvert, SetPropertyConvert, LoadPropertyConvert when assignment of unequal types.
- add friendly name to RegisterProperty.
- DbConnection to use DalNamespace as prefix.
- fix: update is ignored changed value is default value. Move and use Attach(data, true) inside IsSelfDirty.
- use UpdateChildren instead of UpdateChild on XX_Insert.  ReadProperty has bug when property is lazy-load.

Enjoy,
Ricky

reagan123 replied on Sunday, January 25, 2009

Thanks for your hard work Ricky.  I plan to check them out when I get a chance even though i'm still living in VB/3.0.4 world. :)


gPlans replied on Wednesday, February 25, 2009

Any chance of getting the url of where the templates have been uploaded?

rfcdejong replied on Wednesday, February 25, 2009

They are uploaded by Ricky in the CSLAContrib project hosted on Codeplex.
http://www.codeplex.com/CSLAcontrib/SourceControl/ListDownloadableCommits.aspx

Copyright (c) Marimer LLC