File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
AbpCompanyName.AbpProjectName.EntityFramework/EntityFramework
AbpCompanyName.AbpProjectName.Migrator
AbpCompanyName.AbpProjectName.Web Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 10
10
11
11
namespace AbpCompanyName . AbpProjectName . EntityFramework
12
12
{
13
- [ DbConfigurationType ( typeof ( AbpZeroTemplateDbConfiguration ) ) ]
13
+ [ DbConfigurationType ( typeof ( AbpProjectNameDbConfiguration ) ) ]
14
14
public class AbpProjectNameDbContext : AbpZeroDbContext < Tenant , Role , User >
15
15
{
16
16
/* Define an IDbSet for each entity of the application */
@@ -38,8 +38,8 @@ private static string GetConnectionString()
38
38
) ;
39
39
}
40
40
41
- /* This constructor is used by ABP to pass connection string defined in AbpZeroTemplateDataModule .PreInitialize.
42
- * Notice that, actually you will not directly create an instance of AbpZeroTemplateDbContext since ABP automatically handles it.
41
+ /* This constructor is used by ABP to pass connection string defined in AbpProjectNameDataModule .PreInitialize.
42
+ * Notice that, actually you will not directly create an instance of AbpProjectNameDbContext since ABP automatically handles it.
43
43
*/
44
44
public AbpProjectNameDbContext ( string nameOrConnectionString )
45
45
: base ( nameOrConnectionString )
@@ -55,9 +55,9 @@ public AbpProjectNameDbContext(DbConnection dbConnection)
55
55
}
56
56
}
57
57
58
- public class AbpZeroTemplateDbConfiguration : DbConfiguration
58
+ public class AbpProjectNameDbConfiguration : DbConfiguration
59
59
{
60
- public AbpZeroTemplateDbConfiguration ( )
60
+ public AbpProjectNameDbConfiguration ( )
61
61
{
62
62
SetProviderServices (
63
63
"System.Data.SqlClient" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"ConnectionStrings" : {
3
- "Default" : " Server=localhost; Database=AbpZeroTemplateDb ; Trusted_Connection=True;"
3
+ "Default" : " Server=localhost; Database=AbpProjectNameDb ; Trusted_Connection=True;"
4
4
}
5
5
}
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ private static void ConfigureOwinServices(IAppBuilder app)
101
101
102
102
app . MapSignalR ( ) ;
103
103
104
- //Enable it to use HangFire dashboard (uncomment only if it's enabled in AbpZeroTemplateWebModule )
104
+ //Enable it to use HangFire dashboard (uncomment only if it's enabled in AbpProjectNameWebModule )
105
105
//app.UseHangfireDashboard("/hangfire", new DashboardOptions
106
106
//{
107
107
// Authorization = new[] { new AbpHangfireAuthorizationFilter(AppPermissions.Pages_Administration_HangfireDashboard) }
Original file line number Diff line number Diff line change 4
4
5
5
namespace AbpCompanyName . AbpProjectName . Web . Views
6
6
{
7
- public abstract class AbpZeroTemplateRazorPage < TModel > : AbpRazorPage < TModel >
7
+ public abstract class AbpProjectNameRazorPage < TModel > : AbpRazorPage < TModel >
8
8
{
9
9
[ RazorInject ]
10
10
public IAbpSession AbpSession { get ; set ; }
11
11
12
- protected AbpZeroTemplateRazorPage ( )
12
+ protected AbpProjectNameRazorPage ( )
13
13
{
14
14
LocalizationSourceName = AbpProjectNameConsts . LocalizationSourceName ;
15
15
}
Original file line number Diff line number Diff line change 1
1
@using Abp .Localization
2
- @inherits AbpCompanyName .AbpProjectName .Web .Views .AbpZeroTemplateRazorPage <TModel >
2
+ @inherits AbpCompanyName .AbpProjectName .Web .Views .AbpProjectNameRazorPage <TModel >
3
3
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
You can’t perform that action at this time.
0 commit comments