Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
c8df02cf
Commit
c8df02cf
authored
Jul 02, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/dev7.0-battery.laser' into dev6.0
parents
84bfe60a
9a62e0ce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
SQLiteDbContext.cs
Project.SQLiteHelper/SQLiteHelper/SQLiteDbContext.cs
+0
-1
SQLiteHelper.cs
Project.SQLiteHelper/SQLiteHelper/SQLiteHelper.cs
+1
-0
No files found.
Project.SQLiteHelper/SQLiteHelper/SQLiteDbContext.cs
View file @
c8df02cf
...
@@ -204,7 +204,6 @@ namespace SQLite
...
@@ -204,7 +204,6 @@ namespace SQLite
{
{
if
(!
System
.
IO
.
File
.
Exists
(
DBPath
))
if
(!
System
.
IO
.
File
.
Exists
(
DBPath
))
{
{
Build
();
return
false
;
return
false
;
}
}
//TODO, 表不对删除就好。。。没必要重新创建数据库
//TODO, 表不对删除就好。。。没必要重新创建数据库
...
...
Project.SQLiteHelper/SQLiteHelper/SQLiteHelper.cs
View file @
c8df02cf
...
@@ -618,6 +618,7 @@ namespace SQLite
...
@@ -618,6 +618,7 @@ namespace SQLite
if
(
sqls
.
Count
()
==
0
)
if
(
sqls
.
Count
()
==
0
)
{
{
//不存在该表,创建
//不存在该表,创建
ErrorMsg
=
$"sqlite_master 不能找到 name = '
{
tablename
}
' 的 sql"
;
isVaild
=
false
;
isVaild
=
false
;
break
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment