I’ve written a few Access db’s and used some light VBA, and had an OO class. Now I’m undertaking to write a C# db app. I’ve got VS and System.Data.SQLite installed and connected, and have entered my tables and columns, but that’s where I’m stuck.
I’m trying to find what info and tutorials I need to look for, but there are a lot of terms I don’t understand and I don’t know if or exactly how they apply to my project.
I’ve read definitions for these terms (Wikipedia and elsewhere), but the definitions don’t make sense to me because I don’t know what they are or how they fit together or which ones are optional or not optional for my project.
Some of the terms on the System.Data.SQLite website (I wanted to use System.Data.SQLite for my db).
I figured my first step in my project would be to get the db and queries set up and tested. Please tell me if there are other pieces of this part of the puzzle I will need to know about, too. If I can figure out what’s what, I can start looking for the tutorials I need. (btw, I know I don’t want to use an ORM because my app is so simple, and because I want to keep from biting off too much too soon.)
Thank you very much.
SQLite.NET
Framework
ADO.NET
ADO.NET provider
ADO.NET 2.0 Provider for SQLite
Update: Removed “Entity Framework” terms because apparently they are ORM’s, which I won’t be using.
Also, please talk to me as if I know nothing except what my limited experience (above) covers (unfortunately that’s the case since I’ve gotten so confused while trying to research this stuff, all the terms have overwhelmed me into overload-paralysis.) Thank you.
Loosely, in easy speak
ADO.NET
is a library of commands and objects that allow your application to talk to a database. If you have used ADODB in VB6/C++ then ADO.NET is the .net (vb.net/C#) equivalent. ADO.NET provides you with objects such as a connection object, dataset and datareader objects.
ADO.NET provider
Think of a provider like a graphics or device driver. Each time you put a different graphics card inside your computer you need to have a new graphics driver to get your graphics card to work at its best. The same is true for ADO.NET, for each different type of database you connect to (e.g Microsoft Access, Microsoft SQL Server, MySQL, Sybase, Oracle etc.) you will need a different ADODB.Net provider. A handful come as standard (for example, the provider for SQL Server)
SQLite.NET
Is a database server or RDBMS – think of it as a lightweight competitor to SQL Server or MySQL.
ADO.NET 2.0 Provider for SQLite
Combine the last two answers!
SQLite Entity Framework and SQLite Entity Framework provider
This is a whole different subject completely. Look up Object Relational Mapping