Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
tsai
CAP
Commits
a2524f12
Commit
a2524f12
authored
Feb 08, 2018
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove `TableNamePrefix` option from `MySqlOptions` to `EFOptions`. #84
parent
cc94a679
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
CAP.EFOptions.cs
src/DotNetCore.CAP.MySql/CAP.EFOptions.cs
+7
-0
CAP.MySqlOptions.cs
src/DotNetCore.CAP.MySql/CAP.MySqlOptions.cs
+0
-3
No files found.
src/DotNetCore.CAP.MySql/CAP.EFOptions.cs
View file @
a2524f12
...
...
@@ -5,6 +5,13 @@ namespace DotNetCore.CAP
{
public
class
EFOptions
{
public
const
string
DefaultSchema
=
"cap"
;
/// <summary>
/// Gets or sets the table name prefix to use when creating database objects.
/// </summary>
public
string
TableNamePrefix
{
get
;
set
;
}
=
DefaultSchema
;
/// <summary>
/// EF db context type.
/// </summary>
...
...
src/DotNetCore.CAP.MySql/CAP.MySqlOptions.cs
View file @
a2524f12
// ReSharper disable once CheckNamespace
namespace
DotNetCore.CAP
{
public
class
MySqlOptions
:
EFOptions
...
...
@@ -8,7 +7,5 @@ namespace DotNetCore.CAP
/// Gets or sets the database's connection string that will be used to store database entities.
/// </summary>
public
string
ConnectionString
{
get
;
set
;
}
public
string
TableNamePrefix
{
get
;
set
;
}
=
"cap"
;
}
}
\ No newline at end of file
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