Please suggest a generator for all tiers or at least bases for BL and data #2050
Unanswered
aprokopyev
asked this question in
Questions
Replies: 1 comment
-
At one point I'd have recommended CslaGenFork, and it still might be a good option. Unfortunately Tiago, who put all the work into this, went dark suddenly some time ago and I've been unable to reach or find him. There's a list of possible generators in the docs directory: https://github.com/MarimerLLC/csla/blob/master/docs/code-generators.md |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In the past I have made my own generator which was reading a database structure using automation of MyGeneration tool and then it generated a hierarchy of classes of 2 (+ manual inherited customization level for each automatic level ) levels of inheritance depending of an entity:
Automatically generated data object bases for the common library with primitives - it is for nHibernate POCOs.
1.1) Some logic was added manually in the descendants of the above classes
Bases for business objects based on 1.1, a few new of them were nHibernate POCOs too.
2.2) Descendants of 2) were created manually and actual business logic was written here.
I would prefer to have a ready more modern tool like MyGeneration which could generate such hierarchy of classes based on the database structure and using both CSLA for BL and nHibernate for data portal.
Can you please suggest anything like this?
Also another generator for GUI bases would be also very welcome too.
I would like to add my custom code only in the descendants of an automatically generated skeleton.
So that if I need a few more fields or tables/entities/classes/POCOs added, such change would be done in a model and all ancestors would be regenerated automatically.
Beta Was this translation helpful? Give feedback.
All reactions