Model Properties

This topic provides information on the properties of the model that are displayed in the Properties window. They are displayed when you select the model (root) node in Model Explorer or when you click an empty place on the diagram sheet.

File Per Class

Select this check box to place each model class to its separate file when generating code. Otherwise, all model classes will be placed into a single file.

View Generation

If selected, the code for pre-generating views will be added, that will decrease the execution time of the first query. Otherwise, the dynamic view generation will be performed when query is executed. It may cause a serious decrease in performance, when queries are executed for the first time on large models.

note Note

If generated code is too large, you may encounter problems when working with it in Visual Studio.

Connection

Displays the provider and connection string. This property is read-only. To edit the model connection, click the Edit Connection Properties button on the Database Explorer toolbar.

Metadata Artifact Processing

Specifies whether to put the model and mapping files (.csdl, .ssdl, and .msl files) into the output folder or embed them into an output assembly.

Entity Container

Name of the Entity Container.

Namespace

The namespace of the conceptual model. Model classes will be put into this namespace when generating code.

Validate On Build

Determines whether to validate the model on build.

 


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.