我是靠谱客的博主 俏皮柚子,这篇文章主要介绍DB Browser SQLite 操作类,现在分享给大家,希望可以做个参考。

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 操作类的全部内容,更多相关DB内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(48)

评论列表共有 0 条评论

立即
投稿
返回
顶部