Using SQLite in C# - Building Simple, Powerful, Portable Databases for Your Application
Have you ever wanted to store data for an application but didn't want to deal with the hassle of a full database server? Or maybe you wanted to have one database per installation. Those and many other scenarios are a perfect fit for SQLite. Today I am going to show you how to get started using SQLite in C#. We will build a small database, attach it to a C# project, and then wire up our project to read from and write to the database.
SQLite From Start to Finish course: https://www.iamtimcorey.com/p/sqlite-from-start-to-finish
Source Code: https://leadmagnets.app/?Resource=SQLiteInCSharp
Patreon: https://patreon.com/IAmTimCorey
Newsletter signup: https://signup.iamtimcorey.com/
Thanks to Ralfs HBK for the chapter breakdown:
0:00 - Intro
1:14 - Demo app overview (win form app)
4:30 - What is SQLite
5:09 - How to create and build SQLite Database: DB Browser for SQLite
11:17 - Database Structure
13:04 - Adding the Database to the project
15:26 - Adding the Connection string
18:15 - SQLite and Dapper NUGet packages
21:58 - Data access setup
28:17 - Retrieving data form DB: LoadPeople()
30:14 - Sending data to DB: SavePerson()
31:51 - Wiring up the Demo app
33:08 - Workings with the Database
36:18 - Summary and concluding remarks
Видео Using SQLite in C# - Building Simple, Powerful, Portable Databases for Your Application канала IAmTimCorey
SQLite From Start to Finish course: https://www.iamtimcorey.com/p/sqlite-from-start-to-finish
Source Code: https://leadmagnets.app/?Resource=SQLiteInCSharp
Patreon: https://patreon.com/IAmTimCorey
Newsletter signup: https://signup.iamtimcorey.com/
Thanks to Ralfs HBK for the chapter breakdown:
0:00 - Intro
1:14 - Demo app overview (win form app)
4:30 - What is SQLite
5:09 - How to create and build SQLite Database: DB Browser for SQLite
11:17 - Database Structure
13:04 - Adding the Database to the project
15:26 - Adding the Connection string
18:15 - SQLite and Dapper NUGet packages
21:58 - Data access setup
28:17 - Retrieving data form DB: LoadPeople()
30:14 - Sending data to DB: SavePerson()
31:51 - Wiring up the Demo app
33:08 - Workings with the Database
36:18 - Summary and concluding remarks
Видео Using SQLite in C# - Building Simple, Powerful, Portable Databases for Your Application канала IAmTimCorey
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Entity Framework Best Practices - Should EFCore Be Your Data Access of Choice?SQLite: The Database at the Edge of the Network with Dr. Richard HippWinForm vs WPF vs UWP vs Console - The C# Desktop UI Showdown (and the future with .NET 5)10 C# Libraries To Save You Time And EnergyHow to Install SQLite On Windows 10C# Desktop App Deployment with Squirrel - Easier than MSI Files, Better than ClickOnceASP.NET Core Crash Course - C# App in One HourConnect C# Application to SQLite Database and interact with itSQLite with UWPIntro to MongoDB with C# - Learn what NoSQL is, why it is different than SQL and how to use it in C#C# and SQLite | insert, update, delete [CRUD]C# Async / Await - Make your app more responsive and faster with asynchronous programmingHow to connect C# to SQL (the easy way)Refactoring in C# - Improving an Existing ApplicationVisual Studio 2022 Preview 1 Sneak PeekSQL Data Tools In C# - Database Creation, Management, and Deployment in Visual Studio.NET Core Connect to SQLite Database in 10 minutesAdvanced Dapper in C# - SQL Transactions, Mulitple DataSets, UDTs, and moreC# Generics - What they are, why they are useful, and how to create them