Browse Source

Rename to AbpDeskWebAppModule.

pull/81/head
Halil İbrahim Kalkan 10 years ago
parent
commit
737007f99a
  1. 4
      src/AbpDesk/AbpDesk.UI/AbpDeskWebAppModule.cs
  2. 2
      src/AbpDesk/AbpDesk.UI/Startup.cs
  3. 2
      src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Repositories/EntityFrameworkCore/EfCoreRepository.cs

4
src/AbpDesk/AbpDesk.UI/AppModule.cs → src/AbpDesk/AbpDesk.UI/AbpDeskWebAppModule.cs

@ -10,10 +10,10 @@ using Volo.Abp.Modularity;
namespace AbpDesk
{
//TODO: Rename project to AbpDesk.Web.Mvc & rename to AbpDeskWebAppModule
//TODO: Rename project to AbpDesk.Web.Mvc
[DependsOn(typeof(AbpAspNetCoreMvcModule), typeof(AbpDeskApplicationModule), typeof(AbpDeskEntityFrameworkCoreModule))]
public class AppModule : AbpModule
public class AbpDeskWebAppModule : AbpModule
{
public override void ConfigureServices(IServiceCollection services)
{

2
src/AbpDesk/AbpDesk.UI/Startup.cs

@ -9,7 +9,7 @@ namespace AbpDesk
{
public void ConfigureServices(IServiceCollection services)
{
services.AddApplication<AppModule>();
services.AddApplication<AbpDeskWebAppModule>();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)

2
src/Volo.Abp.EntityFrameworkCore/Volo/Abp/Repositories/EntityFrameworkCore/EfCoreRepository.cs

@ -46,6 +46,8 @@ namespace Volo.Abp.Repositories.EntityFrameworkCore
return entity;
}
//TODO: Find by multiple primary key
public override TEntity Find(TPrimaryKey id)
{
return DbSet.Find(id);

Loading…
Cancel
Save