Link to home
Start Free TrialLog in
Avatar of Abdurahman Almatrodi
Abdurahman AlmatrodiFlag for Saudi Arabia

asked on

Best way to connect to SQL in WPF

Hi all

right now I am working in analyzing a multiuser project. I will use WPF with C#, and the Database will be SQL 2012. In previous project I used sql statement to connect to database. While reading I found many suggestion to use LINQ TO SQL.

Could anyone help me in this matter.
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Abdurahman Almatrodi

ASKER

Thanks all, but I don't need examples. I am asking about the best way.

Dear FernandoSoto

Is the EF good for multiusers environment?
Hi Almatrodi;

Entity Framework as well as Linq to SQL are built on top of ADO.Net and both have methods to handle conflicts. So yes Entity Framework can be used in a multiuser environment.