© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•13mo ago•
16 replies
JavierWGI

Database in C#

i was following a tutorial that was using database MySql and happens that they were using SqlConnection = new SqlConnection(connectionString); from the library System.Data.SqlClient; but idk if its that im usin net9 but to my project pop up something about that class is obsolete... so they say that i should use Microsoft.Data.SqlClient and i installed. Someone know the how or why isnt available, i mean i can used it if i use an older version? Also i have the question that what its the standar to use database connection its with LINQ? or it with the Microsoft.Data.SqlClient, or something that i read about entity framework core and use it like a class,modelview,context database, sorry i am stumbling with all of these. Thanks for helping in advance. pd:was a WPF project.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

C# access database
C#CC# / help
13mo ago
✅ Database Design and C# cass
C#CC# / help
6mo ago
❔ C# Login System Oracle Database
C#CC# / help
3y ago
C# WPF Login Oracle Database
C#CC# / help
3y ago