Fishy wrote:
I know this is an old thread and things may have changed.
I'm working on creating LPT Templates (vb) to generate my BL Managers. Most of it's done but I would like to generate fetch routines for each Index field in the table. Is it now possible to get that infomation so I can generate the proper code?
If not, is there another way of doing what I want to accomplish?
Thanks,
FIshy
Indexes aren't available in the meta-data. Unique constraints, FK constraints are. It's likely the FK side of FK constraints are index candidates and you then would miss a few perhaps, but not many.
The main thing is that index meta-data isn't really helping: if data pressure changes, indexes will move/change, but the model/code won't.