using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SQLite;
using System.Data;
using System.Reflection;
using System.Diagnostics;
namespace DB_Browser_SQLite
{
class SqliteManager
{
public SQLiteConnection Connection = null;
protected bool isConnected
{
get { return _isConnected; }
}
private bool _isConnected = false;
private object _obj = new object();
protected virtual bool ConnectDatabase(String connectionString)
{
try
{
if (this.Connection != null)
{
this.Connection.Close();
this.Connection.Dispose();
this.Connection = null;
}
this.Connection = new SQLiteConnection(connectionString);
this.Connection
DB Browser SQLite 操作类
最新推荐文章于 2024-06-13 21:17:18 发布