When using the Update Database from Model wizard
, you have two options - Create Database and Migrate Database.
When using the Create Database
option, OpenAccess ORM will generate DDL script which will attempt to create the entire database schema based on the model you have.
When using the Migrate Database
option OpenAccess ORM will update an already existing database. The generated DDL script will only reflect the changes made to your model as compared to the underlying database. When using this option you can select which entities will be used to update the database. For more information about handling changes to the model please refer to this documentation article
I hope this helps. If you have any more questions, do not hesitate to contact us via our Ticket System or post in our forums again.
OpenAccess ORM Q3 2013 simplifies your model operations even further providing you with greater flexibility. Check out the list of new features
shipped with our latest release!