More details

Posts   
 
    
scheineden
User
Posts: 7
Joined: 05-Sep-2007
# Posted on: 13-Sep-2007 01:28:57   

Quote 1: Quick question, when I generate the code I have choose Template Bindings SD.TemplateBindings.SqlServerSpecific.Net1X

But why after it has been generated it use the SD.TemplateBindings.SharedTemplates.BackwardsCompatibility.Net1x

When I go to Code generation Process, there are tabs: 1. General settings 2. Template bindings 3. Task queue to execute

In the template bindings, I have choose the SD.TemplateBindings.SqlServerSpecific.Net1x as the template and put this position above another.

Then i start to generate the code. My question, although you choose this template, why does the comments code still show that i use the compatible template? Note: this is only for DatabaseGeneric folder not DatabaseSpecific /////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 2.5 // Code is generated on: Wednesday, 12 September 2007 10:29:56 AM // Code is generated using templates: SD.TemplateBindings.SqlServerSpecific.NET1x // Templates vendor: Solutions Design. // Templates version: //////////////////////////////////////////////////////////////

Although I know it is called DatabaseGeneric, it should use a shared template instead of specific database template? But does this matter?

As the previous project both use SqlServerSpecific? So I just need more details in here.

Another question is:

I have replaced the SD.LLBLGen DLL version 2.5 to replace our old SD.LLBLGen DLL version 1.0 Does this going to affect the application as many references have been missing?

Hi Support,

I do remove all references from the projects and add new references, which are SD.LLBLGen.Pro.ORMSupportClasses.NET11.dll SD.LLBLGen.Pro.DQE.SqlServer.NET11

My questions are, when you compile the generated code does above dlls are affected? Or they are used as a reference only?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Sep-2007 12:41:33   
Quote 1: Quick question, when I generate the code I have choose Template Bindings
SD.TemplateBindings.SqlServerSpecific.Net1X

But why after it has been generated it use the SD.TemplateBindings.SharedTemplates.BackwardsCompatibility.Net1x

All the template Bindings you see in the Template Bindings tab are used to generate the code. Each Template binding contain some Templates with (template IDs) that are used to generate different items. Sometimes the same Template ID can exist on more than one Template Binding, which one is used depends on their precedence on the list. (The Template in the higher template binding will overrule).

I do remove all references from the projects and add new references, which are SD.LLBLGen.Pro.ORMSupportClasses.NET11.dll SD.LLBLGen.Pro.DQE.SqlServer.NET11

My questions are, when you compile the generated code does above dlls are affected? Or they are used as a reference only?

Compliling the generated code does not affect the above dlls (LLBLGen Pro runtime libraries).