Skip to content

Commit ebcf257

Browse files
committed
Method name fixed
1 parent 28b5b4a commit ebcf257

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

GenericRepository/GenericRepository.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageId>TS.EntityFrameworkCore.GenericRepository</PackageId>
1515
<AssemblyVersion></AssemblyVersion>
1616
<FileVersion></FileVersion>
17-
<Version>8.0.0</Version>
17+
<Version>8.0.1</Version>
1818
<Authors>Taner Saydam</Authors>
1919
<PackageTags>genericrepository</PackageTags>
2020
<Product>Generic Repository</Product>

GenericRepository/IRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public interface IRepository<TEntity>
66
where TEntity : class
77
{
88
IQueryable<TEntity> GetAll();
9-
IQueryable<TEntity> GetAllWithTacking();
9+
IQueryable<TEntity> GetAllWithTracking();
1010
IQueryable<TEntity> Where(Expression<Func<TEntity, bool>> expression);
1111
IQueryable<TEntity> WhereWithTracking(Expression<Func<TEntity, bool>> expression);
1212
Task<TEntity> GetByExpressionAsync(Expression<Func<TEntity, bool>> expression, CancellationToken cancellationToken = default);

GenericRepository/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public IQueryable<TEntity> GetAll()
6868
return Entity.AsNoTracking().AsQueryable();
6969
}
7070

71-
public IQueryable<TEntity> GetAllWithTacking()
71+
public IQueryable<TEntity> GetAllWithTracking()
7272
{
7373
return Entity.AsQueryable();
7474
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public interface IRepository<TEntity>
6262
where TEntity : class
6363
{
6464
IQueryable<TEntity> GetAll();
65-
IQueryable<TEntity> GetAllWithTacking();
65+
IQueryable<TEntity> GetAllWithTracking();
6666
IQueryable<TEntity> Where(Expression<Func<TEntity, bool>> expression);
6767
IQueryable<TEntity> WhereWithTracking(Expression<Func<TEntity, bool>> expression);
6868
Task<TEntity> GetByExpressionAsync(Expression<Func<TEntity, bool>> expression, CancellationToken cancellationToken = default);
@@ -152,7 +152,7 @@ public class Repository<TEntity, TContext> : IRepository<TEntity>
152152
return Entity.AsNoTracking().AsQueryable();
153153
}
154154

155-
public IQueryable<TEntity> GetAllWithTacking()
155+
public IQueryable<TEntity> GetAllWithTracking()
156156
{
157157
return Entity.AsQueryable();
158158
}

0 commit comments

Comments
 (0)