Skip to content

Commit a3c0fe5

Browse files
committed
Rename to AbpProjectName.
1 parent 7eccf63 commit a3c0fe5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/AbpCompanyName.AbpProjectName.EntityFramework/EntityFramework/AbpProjectNameDbContext.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace 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",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"ConnectionStrings": {
3-
"Default": "Server=localhost; Database=AbpZeroTemplateDb; Trusted_Connection=True;"
3+
"Default": "Server=localhost; Database=AbpProjectNameDb; Trusted_Connection=True;"
44
}
55
}

src/AbpCompanyName.AbpProjectName.Web/Startup/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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) }

src/AbpCompanyName.AbpProjectName.Web/Views/AbpZeroTemplateRazorPage.cs renamed to src/AbpCompanyName.AbpProjectName.Web/Views/AbpProjectNameRazorPage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
namespace 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
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
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

0 commit comments

Comments
 (0)