Code Generation tools

2 posts, 0 answers
  1. topry
    topry avatar
    32 posts
    Member since:
    Oct 2008

    Posted 06 Apr 2012 Link to this post

    We are looking for a tool to automate some of the common template type code for some of the common ViewModel classes. For example, in the OpenAccess WPF example, a template to generate a default CategoryViewModel and a businessObject for each table/object in the domain model.

    Has anyone tried CodeSmith or any of the other tools / know of any that may support OpenAccess?


  2. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 11 Apr 2012 Link to this post

    Hi topry,

    You can use CodeSmith or T4 Templates to generated the required code. Unfortunately OpenAccess does not provide any templates for MVVM infrastructure out of the box.

    In case you decide to build your own templates, we at OpenAccess team and the whole community will be happy if you share the results. 

    If you need any assistance in creating the template you are welcome to post your questions here in the forum or in our customer support forum.

    Greetings,
    Viktor Zhivkov
    the Telerik team
    Telerik OpenAccess ORM Q1 2012 release is here! Check out what's new or download a free trial >>
  3. DevCraft banner
Back to Top