-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlConnection.GetSchema is missing override in SqlClient #21719
Comments
@saurabh500 I assume you wanted to address it in 2.0, right? |
@FransBouma What is your thought on the priority of the SqlConnection.GetSchema() API and its overloads? I remember from one of the past discussions in https://github.com/dotnet/corefx/issues/5024#issuecomment-173861443 that this was important for LLBLGEN. Quoting a comment
|
@karelz I feel that this is important for Schema driven applications and I will keep it for 2.0 |
Sounds good. |
For me personally, they're less important as I only use them on desktop, but I can imagine there's code out there which is using these schema tables, even if they're sometimes incomplete for the complete picture (in general, in my experience, you always have to do some custom queries to get all the meta data from the schema in the catalog, but existing schemas can help a great deal without a lot of effort). For porting efforts to port code over from full to core it might be crucial that these schema tables are there, but I can't say how many people are affected by this: even if the group of users who directly uses this API is pretty small, the amount of people affected by that work indirectly might be massive. So I think if porting code over from full by copy/pasting the queries from the full SqlClient code is doable, I'd do it to make sure people porting code over don't run into a nasty surprise. (Assuming that the code in the .net full implementation of sqlclient is relatively easy to port to core) |
Fixed with dotnet/corefx#20004 |
The SqlConnection.GetSchema() API implementation is missing from SqlConnection
The text was updated successfully, but these errors were encountered: