Is it possible to change the template used to define the database context?

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
neiltrodden
Posts: 10
Joined: Tue 05 Mar 2013 16:12

Is it possible to change the template used to define the database context?

Post by neiltrodden » Mon 15 Apr 2013 15:16

Are the templates that generate database contexts in LinqConnect available for me to edit? IF so, where are they stored?

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Is it possible to change the template used to define the database context?

Post by MariiaI » Wed 17 Apr 2013 09:56

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.

Post Reply