Templates can be downloaded at http://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=CSLAcontrib
Enjoy,
Ricky Supit
Bob,
I don't use oracle db, so may not be able to help you much on this. Hopefully, somebody that had use CodeSmith template with Oracle db will be able to help you.
I'm not sure which method that uses extended property that you've commented out to make your template works. I wasn't expecting you'll get error message from the following method since it check for null first:
public static bool IsIdentity(DataObjectBase col){
if (col.ExtendedProperties["CS_IsIdentity"] == null) return false;
return (bool)col.ExtendedProperties["CS_IsIdentity"].Value;
}
Ricky
Chaim,
I believe the templates that come with CodeSmith Studio is for CSLA 1.x. There have been numerous updates for that version which you can find it on CodeSmith forum at http://community.codesmithtools.com/forums/thread/1689.aspx.
Hi Burmajam,
This templates has never been tested with MySQL, however you might search in http://community.codesmithtools.com/forums/ on how to make CodeSmith template work with MySql. I think you may need to modify the template to use schema provider at http://community.codesmithtools.com/files/9/schemaproviders/default.aspx
Not much of a help but hope to get you started.
Ricky
I have just updated CodePlex with the VB templates. They include all the 0.9.5 changes and a few extra enhancements. See the release notes for details.
Note these templates are used to build CSLA 2.1 business objects, a test build released by Rocky.
Can you please clarify...
I'm using the templates that come with the CodeSmith Studio, so is your code supposed to be an update on those templates? since i see you're using different namespaces (different object names .... list vs. collection)
what gives?
[since i want to contribute some fixes to the current templates, so I need to know which is more current or used]
Copyright (c) Marimer LLC