Skip to content

Commit 92d243a

Browse files
committed
Fixes
1 parent 61068af commit 92d243a

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1-
using Abp.Domain.Entities;
2-
using Abp.Domain.Repositories.EntityFramework;
3-
using SimpleTaskSystem.People;
1+
using SimpleTaskSystem.People;
42

53
namespace SimpleTaskSystem.EntityFramework.Repositories
64
{
75
public class PersonRepository : SimpleTaskSystemRepositoryBase<Person>, IPersonRepository
86
{
97

108
}
11-
12-
public class SimpleTaskSystemRepositoryBase<TEntity> : SimpleTaskSystemRepositoryBase<TEntity, int>
13-
where TEntity : class, IEntity<int>
14-
{
15-
16-
}
17-
18-
public class SimpleTaskSystemRepositoryBase<TEntity, TPrimaryKey> : EfRepositoryBase<SimpleTaskSystemDbContext, TEntity, TPrimaryKey>
19-
where TEntity : class, IEntity<TPrimaryKey>
20-
{
21-
}
229
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using Abp.Domain.Entities;
2+
using Abp.Domain.Repositories.EntityFramework;
3+
4+
namespace SimpleTaskSystem.EntityFramework.Repositories
5+
{
6+
public abstract class SimpleTaskSystemRepositoryBase<TEntity, TPrimaryKey> : EfRepositoryBase<SimpleTaskSystemDbContext, TEntity, TPrimaryKey>
7+
where TEntity : class, IEntity<TPrimaryKey>
8+
{
9+
}
10+
11+
public abstract class SimpleTaskSystemRepositoryBase<TEntity> : SimpleTaskSystemRepositoryBase<TEntity, int>
12+
where TEntity : class, IEntity<int>
13+
{
14+
15+
}
16+
}

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Infrastructure.EntityFramework/SimpleTaskSystem.Infrastructure.EntityFramework.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
<ItemGroup>
7272
<Compile Include="EntityFramework\Repositories\PersonRepository.cs" />
7373
<Compile Include="EntityFramework\Repositories\SimpleTaskSystemDbContext.cs" />
74+
<Compile Include="EntityFramework\Repositories\SimpleTaskSystemRepositoryBase.cs" />
7475
<Compile Include="EntityFramework\Repositories\TaskRepository.cs" />
7576
<Compile Include="Properties\AssemblyInfo.cs" />
7677
<Compile Include="SimpleTaskSystemEntityFrameworkModule.cs" />

SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Web/App/Main/views/layout/layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</ul>
2121
<ul class="nav navbar-nav navbar-right">
2222
<li class="dropdown">
23-
<a href="" class="dropdown-toggle" data-toggle="dropdown"><i ng-class="vm.getLanguageFlagClass()"></i> <span>{{ vm.getLanguageName() }}</span> <b class="caret"></b></a>
23+
<a href="" data-toggle="dropdown"><i ng-class="vm.getLanguageFlagClass()"></i> <span>{{ vm.getLanguageName() }}</span> <b class="caret"></b></a>
2424
<ul class="dropdown-menu">
2525
<li ng-hide="vm.isCurrentLanguage('tr')"><a href="/AbpLocalization/ChangeCulture?cultureName=tr"><i class="famfamfam-flag-tr"></i> Türkçe</a></li>
2626
<li ng-hide="vm.isCurrentLanguage('en')"><a href="/AbpLocalization/ChangeCulture?cultureName=en"><i class="famfamfam-flag-england"></i> English</a></li>

0 commit comments

Comments
 (0)