L
Lupus
Hi!
I'm working on a webapplication which uses some SQL tables. In some
cases, we need to install different versions in one database. That's
why we add prefixes to all tables (iee. cl1_users and cl2_users).
At the moment we add %PRE% in the querystring. The DAL performs a
simple replace() to put the table prefix on each place.
I was wondering if there is an easier way to use table prefixes ? Does
ADO.NET have a feature to use a prefix ? If so, we can easily put the
prefix in a config file and avoid human mistakes...
Kind regards
Mathew
I'm working on a webapplication which uses some SQL tables. In some
cases, we need to install different versions in one database. That's
why we add prefixes to all tables (iee. cl1_users and cl2_users).
At the moment we add %PRE% in the querystring. The DAL performs a
simple replace() to put the table prefix on each place.
I was wondering if there is an easier way to use table prefixes ? Does
ADO.NET have a feature to use a prefix ? If so, we can easily put the
prefix in a config file and avoid human mistakes...
Kind regards
Mathew