JavierWGI
JavierWGI
CC#
Created by JavierWGI on 1/16/2025 in #help
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.
17 replies