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
3961213e
Commit
3961213e
authored
Nov 13, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.添加 规范 数据库每个表必须有ID
parent
4115e212
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
1 deletion
+18
-1
DBTable.cs
Project.SQLiteHelper/SQLiteHelper/DBTable.cs
+1
-1
IDBTable.cs
Project.SQLiteHelper/SQLiteHelper/IDBTable.cs
+2
-0
IDbBase.cs
Project.SQLiteHelper/SQLiteHelper/IDbBase.cs
+13
-0
SQLiteDbContext.cs
Project.SQLiteHelper/SQLiteHelper/SQLiteDbContext.cs
+1
-0
SQLiteHelper.csproj
Project.SQLiteHelper/SQLiteHelper/SQLiteHelper.csproj
+1
-0
No files found.
Project.SQLiteHelper/SQLiteHelper/DBTable.cs
View file @
3961213e
...
...
@@ -39,7 +39,7 @@ namespace SQLite
}
}
SQLiteHelper
sqliteHelper
;
public
SQLiteHelper
sqliteHelper
;
public
DBTable
()
{
...
...
Project.SQLiteHelper/SQLiteHelper/IDBTable.cs
View file @
3961213e
...
...
@@ -31,4 +31,6 @@ namespace SQLite
void
Init
(
SQLiteHelper
sQLiteHelper
);
}
}
Project.SQLiteHelper/SQLiteHelper/IDbBase.cs
0 → 100644
View file @
3961213e
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
SQLite
{
public
interface
IDbBase
{
Int64
ID
{
get
;
set
;
}
}
}
Project.SQLiteHelper/SQLiteHelper/SQLiteDbContext.cs
View file @
3961213e
...
...
@@ -183,4 +183,5 @@ namespace SQLite
}
}
}
Project.SQLiteHelper/SQLiteHelper/SQLiteHelper.csproj
View file @
3961213e
...
...
@@ -45,6 +45,7 @@
</ItemGroup>
<ItemGroup>
<Compile
Include=
"DBTable.cs"
/>
<Compile
Include=
"IDbBase.cs"
/>
<Compile
Include=
"IDBTable.cs"
/>
<Compile
Include=
"IgnoreAttribute.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
...
...
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