-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Strongly-typed database schema API that doesn't rely on DataTable #19324
Comments
We need formal API proposal. We expect it will be rather complex. |
Note the substantial previous discussion in #15953 which should be taken into account. The existing weakly-typed DataTable-based API can definitely serve as a starting point, but this is definitely the opportunity to clearly separate common metadata from SQL Server-centric metadata etc. |
@roji do you plan to create the proposal? |
Well, @saurabh500 made a good start in #15953, it's worth pursuing that with the community. I'm not going to have the time to lead the discussion, although I'd be happy to review/contribute. |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
This issue will now be closed since it had been marked |
The current API to expose database schema is
DbConnection.GetSchema()
. This has some disadvantages:A modern, strongly-typed resultset schema API has already been added -
DbDataReader.GetColumnSchema()
effectively replacesDbDataReader.GetSchema()
which suffers from the same shortcomings asDbConnection.GetSchema()
.See #15953 for previous discussion.
The text was updated successfully, but these errors were encountered: