netTiers / netTiers

.netTiers generated architecture is custom to your domain, uses familiar patterns, and follows the guidance of Microsoft's recommended patterns and practices.
http://nettiers.net
MIT License
61 stars 22 forks source link

Need to reduce generation time ... #210

Closed GoogleCodeExporter closed 4 years ago

GoogleCodeExporter commented 9 years ago
All,

We currently generate netTiers over a fairly large table set (several
hundred).  The generation is starting to take a substantial amount of time
and machine resources.

My question is; is it possible, and is there a tool that will allow us to
only generate what has changed?  If I could simply regen based on the
"diff" between current change set and last change set, we would be much
MUCH more agile.

Any information or help is appreciated.

-mick

Original issue reported on code.google.com by mick.c...@gmail.com on 7 May 2009 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 25 May 2009 at 3:30

GoogleCodeExporter commented 9 years ago
Hello,

This is something that will be available in Version 3.0. Currently there is no 
way to
do this without modifying the templates. Have you tried using .netTiers 2.3 RTM 
with
CodeSmith 5.1. It should speed up generation quite a bit.

Thanks
-Blake

Original comment by bniemyjski on 25 May 2009 at 3:54

jeremeguenther commented 5 years ago

Are you sure the speed issues are due to the generation? Typically the biggest speed issue is due to .netTiers executing every custom sproc with all null parameters so it can analyze the result set. The best way to speed this up is to add a check to your longer running custom sprocs for this null state and return whatever you want nettiers to analyze rather than actually running the sproc.

stale[bot] commented 4 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues. This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.