学习目标:
基于Dapper对SQLite数据库进行增删改查
学习内容:
1.System.Data.Sqlite安装 Nuget安装包安装
2.Dapper安装
3. SQLiteHelper类编写
学习内容:
1.System.Data.Sqlite安装 Nuget安装包安装
2.Dapper安装 Nuget安装包安装
3.App.config中添加内容
<connectionStrings>
<add name="sqlDB" connectionString="data source=F:\C#练习\111\sqlite\SQLiteTest\FrmTest\FrmTest\bin\Debug\Database\AutomationStoreMotion.db;version=3;" />
</connectionStrings>
4.编写SQLiteHelper类
namespace FrmTest
{
public static class SQLiteHelper
{
public static string Loa