What is the best way to connection with databases in c#? 1_connection string 2_Entity framework 3_linq technology Choose best | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the best way to connection with databases in c#? 1_connection string 2_Entity framework 3_linq technology Choose best

they are one best way to connection with DB what is this way

5th Jun 2019, 4:46 PM
Abdulelah Ahmed Mohammed Alalaya
Abdulelah Ahmed Mohammed Alalaya - avatar
2 Answers
+ 2
Please explain your question a bit more 1) Connection string is a very good way to make a connection to a database. But it will not search you data. 2) Entity framework 3) Linq is more a query method than a way to connect to a database. With linq you need to have data available to be able to search it. I guess you need all three. What do you want to do ?
6th Jun 2019, 10:31 PM
sneeze
sneeze - avatar
+ 1
Connection string
7th Jun 2019, 4:25 AM
chaimae boktob
chaimae boktob - avatar