Configure the code generation process - template bindings

Posts   
 
    
weezer
User
Posts: 42
Joined: 24-Apr-2012
# Posted on: 27-Apr-2012 02:38:11   

Hi Guys,

I am currently using VS2010 and .net 4 framework and need to build web application. Which the following template i should use:

In template binding tab:

SD.Template.SqlServerSpecific NET2.0 SD.Template.ShareTemplate NET4.0 SD.Template.SqlServerSpecific NET3.5 SD.Template.SqlServerSpecific NET2.0 SD.Template.Bindings.General

Thank you

Regards.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 27-Apr-2012 07:04:31   

The TemplateBindings tab shows the templates that can be used in the generation process. This is useful only when you have custom templates that overrides the original ones, so at this tab you can move up/down the bindings to set the precedence. You cannot select a thing here, you just can reorder the precedence.

The sub-tab you have to look at is the "General Settings. Select the language of your preference, .Net4 as the platform and Adapter as template group. You also could select SelfServicing. [url description="See this"]http://llblgen.com/documentation/3.0/LLBLGen%20Pro%20RTF/hh_goto.htm#Concepts/concepts_templatesets.htm[/url] to understand the difference.

At the "Task queue to execute" sub-tab you can choose a Preset. A preset is a subset of tasks LLBLGen will execute consuming the templates to generate your code. Here just use the default one (General2010).

Read this to know more about the generation process.

David Elizondo | LLBLGen Support Team
weezer
User
Posts: 42
Joined: 24-Apr-2012
# Posted on: 27-Apr-2012 10:01:19   

Hi David,

Thanks for the response. If i do not need to override any template. Should i use SD.Template.SQLServerSpecific NET2.0? or would you recommend for me to use the other template instead. Please advise

SD.Template.SqlServerSpecific NET2.0 SD.Template.ShareTemplate NET4.0 SD.Template.ShareTemplate NET3.5 SD.Template.ShareTemplate NET2.0 SD.Template.Bindings.General

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 27-Apr-2012 11:52:57   

As David said, if you don't need to override the templates, you should ignore this tab. All the templates that appear in this tab are used, so you don't have to choose between them anyway. They are there to let you re-order them only in case you have created your own templates.