Strategy for "automagic" synchronization with db

Thread is closed for posting
4 posts, 0 answers
  1. Mikkel
    Mikkel avatar
    2 posts
    Member since:
    Apr 2009

    Posted 28 Apr 2009 Link to this post

    Hello X,

    Im used from the Hibernate ORM framework that when i deploy my applications the application models are "automagically" forward-mapped to the database. So if i add a field in a object model it is mapped down to the db automatic.

    Is this possible with the telerik openaccess or do i have to manually forward map my changes to the application model?

    Mikkel

  2. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 30 Apr 2009 Link to this post

    Hello Mikkel,
    if you set the Update Database property of the Class Library project to true, any changes made to the classes in the class library will be reflected to the database on every program run.
    We are planning for the near future to introduce a new API that will make it possible to reflect those changes during run time.
    If you have any feedback on how the things should be handled please do not hesitate to share it with us.

    Kind regards,
    PetarP
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Mikkel
    Mikkel avatar
    2 posts
    Member since:
    Apr 2009

    Posted 30 Apr 2009 Link to this post

    Hello PetarP,

    Thank you for the guidance.

    Suggestions for a upgrade/downgrade strategy is implemented in a simple and very useful way in the Ruby on Rails framework.
    May i suggest that you take a look at how they handle both a way to upgrade on deployment but also a way of handling a downgrade.

    Mikkel
  4. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 03 May 2009 Link to this post

    we will research a little bit on the features you suggested and if we find them useful, they will be added to our todo list and I will notify you. Thank you for your suggestion.
    Hi Mikkel,


    Greetings,
    PetarP
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
Back to Top