I am currently re-jigging a CodeSmith (a Code generator) script that comes with Gentle.Net (another persistence framework). So that it can produce VB Business Objects (it currently does C# only). I am doing it in a rush because I am working on a project that uses ATomsFramework as its persistence layer. And time is tight. I will try and provide it somehow to you once it is finished but extra development on it, if needed, would be welcome.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That would be great. I'm in the final stages of writing a tool to generate the XML mapping file, and after that I will be doing code generation via templates.
If you have something that works I'd love to see it. You can either email it to me, or post it as a patch or RFE.
- Richard.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have finally finished that script. I hope some of you out there can help to beef it up and improve it. For e.g. being able to generate AFAssociation and AFAssociationEntry attributes based on the database schema.
I have one niggling problem with it and thats Visual Studio. When I hit the "Format Document" shortcut it changes my class names to for e.g. _Cases to _cases or _CaseStatus to _caseStatus. This is becoming annoying. Is there anyway of configuring VS.NET to stop doing this? Or is there an Add-In I can get to override formatting ?
Also where do I post the script to. Richard can you help me out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am currently re-jigging a CodeSmith (a Code generator) script that comes with Gentle.Net (another persistence framework). So that it can produce VB Business Objects (it currently does C# only). I am doing it in a rush because I am working on a project that uses ATomsFramework as its persistence layer. And time is tight. I will try and provide it somehow to you once it is finished but extra development on it, if needed, would be welcome.
Hi Womber,
That would be great. I'm in the final stages of writing a tool to generate the XML mapping file, and after that I will be doing code generation via templates.
If you have something that works I'd love to see it. You can either email it to me, or post it as a patch or RFE.
- Richard.
Hi All,
I have finally finished that script. I hope some of you out there can help to beef it up and improve it. For e.g. being able to generate AFAssociation and AFAssociationEntry attributes based on the database schema.
I have one niggling problem with it and thats Visual Studio. When I hit the "Format Document" shortcut it changes my class names to for e.g. _Cases to _cases or _CaseStatus to _caseStatus. This is becoming annoying. Is there anyway of configuring VS.NET to stop doing this? Or is there an Add-In I can get to override formatting ?
Also where do I post the script to. Richard can you help me out.
You can post it as a patch. Just create a patch and attach the script to it. Alternatively you can just email it to me.
I think I'd better go and grab a copy of codesmith now :-)
Oops, I am sorry for the delay in posting. A combination of forgetfulness and that I have just found a bug. Will promise to post by end of tommorrow.