Even when a schema is specified in the connection string of a Data Connection, all tables/views/etc from all schemas are shown in the Visual Studio Query Designer.
Steps to reproduce
1) From Visual Studio, create a new Data Connection to a database that has multiple schemas. In the connection string, specify a schema.
2) From the new Data Connection, create a new query.
3) The Query Designer will show all tables/views/etc... not just the ones from the schema in the connection string.
Specifying a schema in the connection string does not filter.
-
- Posts: 7
- Joined: Thu 21 Feb 2008 20:53
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
Well, actually it's not a bug.
Issuing our products, we strive for achieving standard approach to data access solutions.
Microsoft suggested this way of table representations and we follow it.
So it would be clear and easy for every developer to get started with development of a new application linked to a different server.
Issuing our products, we strive for achieving standard approach to data access solutions.
Microsoft suggested this way of table representations and we follow it.
So it would be clear and easy for every developer to get started with development of a new application linked to a different server.
-
- Posts: 7
- Joined: Thu 21 Feb 2008 20:53
Oh
Oh, okay. Well, it makes the provider very very slow when there are many many schemas in a database. It takes about 30 seconds for a query tab to show up on my many schema database as opposed to less than a second on an empty database. Then after the 30 second open time, when you switch query tabs, it takes about 10 seconds each time.
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
-
- Posts: 7
- Joined: Thu 21 Feb 2008 20:53
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24