Querying Tables and Indexes: .NET