Browse Source
Merge pull request #7131 from zfmy/dev
fixed a typo and namespace in abp.mongoDB
pull/7151/head
liangshiwei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
4 deletions
-
framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/IMongoDbBulkOperationProvider.cs
-
framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/MongoDbRepository.cs
-
framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDbCoreRepositoryExtensions.cs
|
|
@ -3,9 +3,8 @@ using System.Collections.Generic; |
|
|
using System.Threading; |
|
|
using System.Threading; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using Volo.Abp.Domain.Entities; |
|
|
using Volo.Abp.Domain.Entities; |
|
|
using Volo.Abp.Domain.Repositories.MongoDB; |
|
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.MongoDB.Volo.Abp.Domain.Repositories.MongoDB |
|
|
namespace Volo.Abp.Domain.Repositories.MongoDB |
|
|
{ |
|
|
{ |
|
|
public interface IMongoDbBulkOperationProvider |
|
|
public interface IMongoDbBulkOperationProvider |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -16,7 +16,6 @@ using Volo.Abp.EventBus.Distributed; |
|
|
using Volo.Abp.EventBus.Local; |
|
|
using Volo.Abp.EventBus.Local; |
|
|
using Volo.Abp.Guids; |
|
|
using Volo.Abp.Guids; |
|
|
using Volo.Abp.MongoDB; |
|
|
using Volo.Abp.MongoDB; |
|
|
using Volo.Abp.MongoDB.Volo.Abp.Domain.Repositories.MongoDB; |
|
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.Domain.Repositories.MongoDB |
|
|
namespace Volo.Abp.Domain.Repositories.MongoDB |
|
|
{ |
|
|
{ |
|
|
|
|
|
@ -22,7 +22,7 @@ namespace Volo.Abp.Domain.Repositories |
|
|
return repository.ToMongoDbRepository().GetDatabaseAsync(); |
|
|
return repository.ToMongoDbRepository().GetDatabaseAsync(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[Obsolete("Use GetCollection method.")] |
|
|
[Obsolete("Use GetCollectionAsync method.")] |
|
|
public static IMongoCollection<TEntity> GetCollection<TEntity, TKey>(this IBasicRepository<TEntity, TKey> repository) |
|
|
public static IMongoCollection<TEntity> GetCollection<TEntity, TKey>(this IBasicRepository<TEntity, TKey> repository) |
|
|
where TEntity : class, IEntity<TKey> |
|
|
where TEntity : class, IEntity<TKey> |
|
|
{ |
|
|
{ |
|
|
|