Welcome To Entity Developer Update To Database Wizard

This is the introduction page of Update To Database Wizard. Please note, that your model must have valid storage part and mapping.

Recreate Database Tables

If this check box is selected, database tables will be dropped (if they exist) and recreated when performing the database update operation. Any data in them will be lost.

Regenerate Storage

If this check box is selected, the whole Model Storage part and Mapping, including the description of storage columns and ends of relations, will be completely re-generated.

 

In case of NHibernate, all the customization of Columns options and other mapping settings will be filled automatically using our engine, converting Conceptual model to the Storage model and Mapping between them. The engine considers entities, associations, and inheritances from the Conceptual model.

When working with NHibernate, Entity Framework Core, or Telerik Data Access ORMs this option is rarely used because the runtime of these ORMs does not require the Storage part and Mapping and can work without them. With these ORMs, this option should be used only if you want your Storage part to be always completed, and want it to be done automatically.

However for other ORMs, which have explicit difference between Conceptual and Storage parts and Mapping, and if Storage part and Mapping are required for these ORMs, this feature can be very useful, because it eliminates the need to create Storage part and Mapping manually in Model-First Approach.

 

ExpandedToggleIcon        See Also


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.