dibagaran / cs-2015-7-alpha

C# / July 2015 / Group 1 (Sundays & Tuesdays 15-18)
GNU General Public License v2.0
14 stars 11 forks source link

Using SQL in C# #7

Open AMINEDGE opened 9 years ago

AMINEDGE commented 9 years ago

Hello Master I was looking for some guides to use SQL as a database for my Program which uses FileStream to save data and load. I searched some websites to learn and use SQL instead of FileStream but I got confused because I couldn't understand so much what they did and how it worked exactly. I wanted to ask if you can give me some examples or sources to understand and learn it easily. I would appreciate it.

meysam-mousavi commented 9 years ago

Well, using databases in C# is a very broad and rather advanced topic in programming so there's no easy and quick way or even a single best method to do it. Starting from pure ADO.net code in the bottom you can build your way up through Typed Datasets or ORMs like Entity Framework. There is just so many possibilities and different frameworks, environments or even database management systems and strategies to choose from. Search for the keywords I mentioned and try to grasp as much as you can through books and tutorials. 'Microsoft ADO.NET Entity Framework Step by Step' by 'John Paul Mueller' and 'Programming Entity Framework' by 'Julia Lerman' are some of the good books you can delve into.

AMINEDGE commented 9 years ago

Great I'll check 'em. Thanks for your help