示例#1
0
        public void DeleteDb()
        {
            var path = string.Format("data source={0}\\{1}", Application.StartupPath, _dbpath);

            if (System.IO.File.Exists(path))
            {
                System.IO.File.Delete(path);
            }
            _helper = null;
        }
示例#2
0
        public void CreateDbFile()
        {
            var path = string.Format("data source={0}\\{1}", Application.StartupPath, _dbpath);

            _helper = new SqLiteHelper(path);
        }