Is there any way to disable intellisense for certain things?

Posts   
 
    
JMitchell avatar
JMitchell
User
Posts: 128
Joined: 01-Sep-2006
# Posted on: 18-Aug-2010 11:57:22   

When ever I define fields in an instance of the ResultsetFields class, the intellisense locks up Visual Studio for a significant amount of time

I just typed the following as a test:

fields.DefineField(s

It took 21 seconds between me typing the open bracket and it appearing onscreen. rage

I am using several databases, a couple of which have a lot of tables, many of them with a lot of fields and / or relations

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 18-Aug-2010 16:30:30   

Please try the following:

Go to the second tab of the code generation configuration dialog and place the backwards compatibility template bindings below the rest.

This will cause a breaking change though: he then has to use: fields.DefineField(entitynameFields.fieldname, ...) and not the fieldindex enum

It will however remove all the massive overloads, resulting in fast intellisense.

Doesn't work on v1.0.200x.y though, v2.x or higher.

JMitchell avatar
JMitchell
User
Posts: 128
Joined: 01-Sep-2006
# Posted on: 19-Aug-2010 16:28:26   

Top notch. Thanks for that - it works brilliantly and I've only found one place in my main project where I'd been using the fieldindex rather than the entityFields.

It had been bugging me for ages!

Thanks again