Skip to content

Add SqlDataAdapter Design and Toolbox attributes #3243

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

Open
michell711 opened this issue Mar 26, 2025 · 9 comments
Open

Add SqlDataAdapter Design and Toolbox attributes #3243

michell711 opened this issue Mar 26, 2025 · 9 comments
Assignees
Labels
Enhancement 💡 Issues that are feature requests for the drivers we maintain.
Milestone

Comments

@michell711
Copy link

Image

This is what the sqlDataAdapter in .net 4.8 can do.
But when I upgraded to .net 8.0
And use>Microsoft.Data.SqlClient
A very simple "automatically generate SQL syntax and SQL parameters - window design function",
=>Disappeared!

Please fix it.

@michell711 michell711 added Bug! 🐛 Issues that are bugs in the drivers we maintain. Triage Needed 🆕 For new issues, not triaged yet. labels Mar 26, 2025
@mdaigle mdaigle self-assigned this Mar 26, 2025
@mdaigle
Copy link
Contributor

mdaigle commented Mar 27, 2025

Hi @michell711, can you please provide some example programs so that I can try to replicate what you're seeing?

@mdaigle mdaigle added Waiting for Customer ⏳ Issues/PRs waiting for user response/action. and removed Triage Needed 🆕 For new issues, not triaged yet. labels Mar 27, 2025
@michell711
Copy link
Author

michell711 commented Mar 28, 2025

Image

Image

https://kalachakra-my.sharepoint.com/:u:/g/personal/michell_kalachakra_onmicrosoft_com/EQ3p2dxvL3RJghNSUkmSgaIBU5S31lMc9G0RZK62Lwm9sA

The point is that the [...] of sqlcommand disappears.
Previously, when you clicked
The "Automatic-SQL Syntax Query Tool" may appear.
"SQL parameters" will also be automatically generated.
Now these features are "gone"

Image
https://kalachakra-my.sharepoint.com/:u:/g/personal/michell_kalachakra_onmicrosoft_com/ESFrHJcAOfdBmnGXZCpTODIBrvB0v2oAggjayTH37R8dAQ?e=4lVj5r

@michell711
Copy link
Author

你好@michell711,您能否提供一些示例程序,以便我嘗試複製您所看到的內容?

I have already replied. Is this sample information sufficient?

@mdaigle
Copy link
Contributor

mdaigle commented Mar 31, 2025

It's not sufficient. We'll need to see the actual code that reproduces the issue, not just the symptom. For example, there may be differences with how libraries need to be imported and used across different target frameworks that are not apparent unless we can see the code itself. Please attach example projects that show the working behavior in .NET Framework 4.8.1 and broken behavior in .NET 8 and I can take a look. Thanks!

@michell711
Copy link
Author

這還不夠。我們需要查看重現問題的實際程式碼,而不僅僅是症狀。例如,在不同的目標框架中匯入和使用函式庫的方式可能會有所不同,除非我們能夠看到程式碼本身,否則這些差異是不會顯現出來的。請附上展示 .NET Framework 4.8.1 中的工作行為和 .NET 8 中的損壞行為的範例項目,以便我可以查看。謝謝!

我已經提供了直接的程式碼範例。
請從這兩個鏈接下載文件

https://kalachakra-my.sharepoint.com/:u:/g/personal/michell_kalachakra_onmicrosoft_com/EQ3p2dxvL3RJghNSUkmSgaIBU5S31lMc9G0RZK62Lwm9sA

https://kalachakra-my.sharepoint.com/:u:/g/personal/michell_kalachakra_onmicrosoft_com/ESFrHJcAOfdBmnGXZCpTODIBrvB0v2oAggjayTH37R8dAQ?e=4lVj5r

@mdaigle
Copy link
Contributor

mdaigle commented Mar 31, 2025

I see, your links have an incorrect hyperlink and just take me to the issues page for this repo. But copying the location straight into the address bar works.

@michell711
Copy link
Author

I see, your links have an incorrect hyperlink and just take me to the issues page for this repo. But copying the location straight into the address bar works.

Thank u

@mdaigle
Copy link
Contributor

mdaigle commented Mar 31, 2025

I noticed that you updated from System.Data.SqlClient to Microsoft.Data.SqlClient. Looking around, I did find some existing issues that look similar having to do with VS Designer support for Microsoft.Data.SqlClient.

I believe adding that support would address this issue. I'll discuss with my team and we'll decide on the priority of this feature.

@mdaigle mdaigle added Enhancement 💡 Issues that are feature requests for the drivers we maintain. and removed Bug! 🐛 Issues that are bugs in the drivers we maintain. Waiting for Customer ⏳ Issues/PRs waiting for user response/action. labels Mar 31, 2025
@mdaigle mdaigle changed the title sqlDataAdapter -no sql window design function Add SqlDataAdapter Design and Toolbox attributes Mar 31, 2025
@michell711
Copy link
Author

@mdaigle

Thanks for finding this section,
The problem is indeed very much the same.
However... Microsoft mentioned that this Function has been fixed.
Released in the latest product update release, Visual Studio 2022 17.5
=>
But I use Visual Studio 2022 17.13.3,
This part of the problem still exists.
Need the team to help...fix it first.

With the maturity of .net 8 and .net 9,
I believe there are more people,
would like to upgrade from .net 4.8
will need this function

Thank you all,
Efforts and contributions made.
Thanks

@mdaigle mdaigle added this to the 6.1-preview1 milestone Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 💡 Issues that are feature requests for the drivers we maintain.
Projects
None yet
Development

No branches or pull requests

2 participants