DQE Compatibility mode self servicing

Posts   
 
    
Posts: 1251
Joined: 10-Mar-2006
# Posted on: 11-Dec-2014 20:44:21   

How can you set the compatibility mode in code for self servicing? I would rather do that, than put it in web.config.

Posts: 1251
Joined: 10-Mar-2006
# Posted on: 11-Dec-2014 20:46:06   

Well, I tried to guess more in code...and I think I found it. When the website starts I can do this:

            DynamicQueryEngine.DefaultCompatibilityLevel = SqlServerCompatibilityLevel.SqlServer2012;

Will that take care of it?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 12-Dec-2014 06:01:20   

WayneBrantley wrote:

Will that take care of it?

Yes, that will take care of it.

David Elizondo | LLBLGen Support Team