Is it possible to change the template used to define the database context?
-
- Posts: 10
- Joined: Tue 05 Mar 2013 16:12
Is it possible to change the template used to define the database context?
Are the templates that generate database contexts in LinqConnect available for me to edit? IF so, where are they stored?
Re: Is it possible to change the template used to define the database context?
All available templates can be found in the Model Explorer->Templates.
To make the template being used available for editing, copy it to the Model Folder - 'Copy to Model Folder' by right-clicking the template in the Model Explorer (e.g. LinqConnect template).
Note:
Prior to adding a predefined template with the Copy to Model Folder shortcut menu command enabled, ensure that your model has been saved first. It is impossible to copy a template to an unsaved model.
For more information please refer to the corresponding topics in the Entity Developer documentation: Template System Concepts -> Model Template Types.
Please tell us if this helps.
To make the template being used available for editing, copy it to the Model Folder - 'Copy to Model Folder' by right-clicking the template in the Model Explorer (e.g. LinqConnect template).
Note:
Prior to adding a predefined template with the Copy to Model Folder shortcut menu command enabled, ensure that your model has been saved first. It is impossible to copy a template to an unsaved model.
For more information please refer to the corresponding topics in the Entity Developer documentation: Template System Concepts -> Model Template Types.
Please tell us if this helps.