Put code into dedicate projects.

Nov 11, 2012 at 5:00 AM

Dear  martinjw

Thanks for a good project, I think it will more clear and use-full if code is separate into dedicate project. Example SchemaReader, Util, Code Generator...

Thanks and regards,

 

Coordinator
Nov 12, 2012 at 7:29 AM

The functionality is split fairly clearly between core schema reading, CodeGen and SqlGen- but I just use namespaces/folders for scoping. The full dll is just 340k. The overhead of loading unused functionality is minimal, especially when it is scoped appropriately. 

If it were split into different assemblies, the assemblies would be pretty small. But, without nuget, dependencies could be confusing, deployment is more complicated,and performance is poorer (appdomain loading and initialization). Microsoft recommends larger assemblies to multiple smaller assemblies (http://msdn.microsoft.com/en-us/library/ff647790.aspx#scalenetchapt05_topic6).

Martin

Nov 18, 2012 at 6:10 AM

Hi Martin,

I think if you put code to dedicate projects will help people expand code generation more easey, and a small request from me is add Object Filter to schema like Startwith... for large database.

Thanks and sorry for my bad English.