Skip to content

Commit ae159f7

Browse files
Merge pull request #91 from johelvisguzman/jaguzman
Renamed RepositoryAsyncBase to RepositoryBaseAsync
2 parents 47edb9d + 688ea6a commit ae159f7

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

src/DotNetToolkit.Repository.AdoNet/AdoNetRepositoryBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/// <summary>
2424
/// Represents a repository for ado.net.
2525
/// </summary>
26-
public abstract class AdoNetRepositoryBase<TEntity, TKey> : RepositoryAsyncBase<TEntity, TKey> where TEntity : class
26+
public abstract class AdoNetRepositoryBase<TEntity, TKey> : RepositoryBaseAsync<TEntity, TKey> where TEntity : class
2727
{
2828
#region Fields
2929

@@ -1940,7 +1940,7 @@ public override void Dispose()
19401940

19411941
#endregion
19421942

1943-
#region Overrides of RepositoryAsyncBase<TEntity, TKey>
1943+
#region Overrides of RepositoryBaseAsync<TEntity, TKey>
19441944

19451945
/// <summary>
19461946
/// A protected asynchronous overridable method for saving changes made in the current unit of work in the repository.

src/DotNetToolkit.Repository.EntityFramework/EfRepositoryBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/// <summary>
1616
/// Represents a repository for entity framework.
1717
/// </summary>
18-
public abstract class EfRepositoryBase<TEntity, TKey> : RepositoryAsyncBase<TEntity, TKey> where TEntity : class
18+
public abstract class EfRepositoryBase<TEntity, TKey> : RepositoryBaseAsync<TEntity, TKey> where TEntity : class
1919
{
2020
#region Fields
2121

@@ -148,7 +148,7 @@ public override void Dispose()
148148

149149
#endregion
150150

151-
#region Overrides of RepositoryAsyncBase<TEntity, TKey>
151+
#region Overrides of RepositoryBaseAsync<TEntity, TKey>
152152

153153
/// <summary>
154154
/// A protected asynchronous overridable method for saving changes made in the current unit of work in the repository.

src/DotNetToolkit.Repository.EntityFrameworkCore/EfCoreRepositoryBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/// <summary>
1616
/// Represents a repository for entity framework core.
1717
/// </summary>
18-
public abstract class EfCoreRepositoryBase<TEntity, TKey> : RepositoryAsyncBase<TEntity, TKey> where TEntity : class
18+
public abstract class EfCoreRepositoryBase<TEntity, TKey> : RepositoryBaseAsync<TEntity, TKey> where TEntity : class
1919
{
2020
#region Fields
2121

@@ -148,7 +148,7 @@ public override void Dispose()
148148

149149
#endregion
150150

151-
#region Overrides of RepositoryAsyncBase<TEntity, TKey>
151+
#region Overrides of RepositoryBaseAsync<TEntity, TKey>
152152

153153
/// <summary>
154154
/// A protected asynchronous overridable method for saving changes made in the current unit of work in the repository.

src/DotNetToolkit.Repository/RepositoryAsyncBase.cs renamed to src/DotNetToolkit.Repository/RepositoryBaseAsync.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616
/// <summary>
1717
/// An implementation of <see cref="IRepositoryAsync{TEntity, TKey}" />.
1818
/// </summary>
19-
public abstract class RepositoryAsyncBase<TEntity, TKey> : RepositoryBase<TEntity, TKey>, IRepositoryAsync<TEntity, TKey> where TEntity : class
19+
public abstract class RepositoryBaseAsync<TEntity, TKey> : RepositoryBase<TEntity, TKey>, IRepositoryAsync<TEntity, TKey> where TEntity : class
2020
{
2121
#region Constructors
2222

2323
/// <summary>
24-
/// Initializes a new instance of the <see cref="RepositoryAsyncBase{TEntity, TKey}"/> class.
24+
/// Initializes a new instance of the <see cref="RepositoryBaseAsync{TEntity, TKey}"/> class.
2525
/// </summary>
26-
protected RepositoryAsyncBase()
26+
protected RepositoryBaseAsync()
2727
{
2828
}
2929

3030
/// <summary>
31-
/// Initializes a new instance of the <see cref="RepositoryAsyncBase{TEntity, TKey}"/> class.
31+
/// Initializes a new instance of the <see cref="RepositoryBaseAsync{TEntity, TKey}"/> class.
3232
/// </summary>
3333
/// <param name="logger">The logger.</param>
34-
protected RepositoryAsyncBase(ILogger logger) : base(logger)
34+
protected RepositoryBaseAsync(ILogger logger) : base(logger)
3535
{
3636
}
3737

0 commit comments

Comments
 (0)