This is a migrated thread and some comments may be shown as answers.

Strategy for "automagic" synchronization with db

3 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mikkel
Top achievements
Rank 1
Mikkel asked on 28 Apr 2009, 09:38 AM
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

3 Answers, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 30 Apr 2009, 06:47 PM
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.
0
Mikkel
Top achievements
Rank 1
answered on 30 Apr 2009, 08:39 PM
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
0
PetarP
Telerik team
answered on 03 May 2009, 11:01 AM
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.
Tags
General Discussions
Asked by
Mikkel
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Mikkel
Top achievements
Rank 1
Share this question
or