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 1010
1111namespace AbpCompanyName . AbpProjectName . EntityFramework
1212{
13- [ DbConfigurationType ( typeof ( AbpZeroTemplateDbConfiguration ) ) ]
13+ [ DbConfigurationType ( typeof ( AbpProjectNameDbConfiguration ) ) ]
1414 public class AbpProjectNameDbContext : AbpZeroDbContext < Tenant , Role , User >
1515 {
1616 /* Define an IDbSet for each entity of the application */
@@ -38,8 +38,8 @@ private static string GetConnectionString()
3838 ) ;
3939 }
4040
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.
4343 */
4444 public AbpProjectNameDbContext ( string nameOrConnectionString )
4545 : base ( nameOrConnectionString )
@@ -55,9 +55,9 @@ public AbpProjectNameDbContext(DbConnection dbConnection)
5555 }
5656 }
5757
58- public class AbpZeroTemplateDbConfiguration : DbConfiguration
58+ public class AbpProjectNameDbConfiguration : DbConfiguration
5959 {
60- public AbpZeroTemplateDbConfiguration ( )
60+ public AbpProjectNameDbConfiguration ( )
6161 {
6262 SetProviderServices (
6363 "System.Data.SqlClient" ,
Original file line number Diff line number Diff line change 11{
22 "ConnectionStrings" : {
3- "Default" : " Server=localhost; Database=AbpZeroTemplateDb ; Trusted_Connection=True;"
3+ "Default" : " Server=localhost; Database=AbpProjectNameDb ; Trusted_Connection=True;"
44 }
55}
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ private static void ConfigureOwinServices(IAppBuilder app)
101101
102102 app . MapSignalR ( ) ;
103103
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 )
105105 //app.UseHangfireDashboard("/hangfire", new DashboardOptions
106106 //{
107107 // Authorization = new[] { new AbpHangfireAuthorizationFilter(AppPermissions.Pages_Administration_HangfireDashboard) }
Original file line number Diff line number Diff line change 44
55namespace AbpCompanyName . AbpProjectName . Web . Views
66{
7- public abstract class AbpZeroTemplateRazorPage < TModel > : AbpRazorPage < TModel >
7+ public abstract class AbpProjectNameRazorPage < TModel > : AbpRazorPage < TModel >
88 {
99 [ RazorInject ]
1010 public IAbpSession AbpSession { get ; set ; }
1111
12- protected AbpZeroTemplateRazorPage ( )
12+ protected AbpProjectNameRazorPage ( )
1313 {
1414 LocalizationSourceName = AbpProjectNameConsts . LocalizationSourceName ;
1515 }
Original file line number Diff line number Diff line change 11@using Abp .Localization
2- @inherits AbpCompanyName .AbpProjectName .Web .Views .AbpZeroTemplateRazorPage <TModel >
2+ @inherits AbpCompanyName .AbpProjectName .Web .Views .AbpProjectNameRazorPage <TModel >
33@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
You can’t perform that action at this time.
0 commit comments