Izenda Logo

This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at https://www.izenda.com/docs/


Is there a way to store a pre-built string or object at application level? so that the application does not have to call the AddConstraint() method every time a user wants to connect to a database


Custom constraints can be stored in application through following 3 steps

1) Before adding constraints, put this line of code:

Driver driver = AdHocContext.Driver;

and change all their "AdHocContext.Driver.AddConstraint(...)" lines to "driver.AddConstraint(...)"

2) Add following line of code right before adding first custom constraint:


3) Add following line of code right after adding last custom constraint: