Browse Source
Remove `GetQueryable` from `MongoDbCoreRepositoryExtensions`.
pull/21807/head
maliming
1 year ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
0 additions and
7 deletions
-
framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDbCoreRepositoryExtensions.cs
|
|
|
@ -50,13 +50,6 @@ public static class MongoDbCoreRepositoryExtensions |
|
|
|
return repository.ToMongoDbRepository().GetMongoQueryableAsync(cancellationToken, aggregateOptions); |
|
|
|
} |
|
|
|
|
|
|
|
[Obsolete("Use GetQueryableAsync method.")] |
|
|
|
public static IQueryable<TEntity> GetQueryable<TEntity>(this IReadOnlyBasicRepository<TEntity> repository) |
|
|
|
where TEntity : class, IEntity |
|
|
|
{ |
|
|
|
return repository.ToMongoDbRepository().GetMongoQueryable(); |
|
|
|
} |
|
|
|
|
|
|
|
public static Task<IQueryable<TEntity>> GetQueryableAsync<TEntity>(this IReadOnlyBasicRepository<TEntity> repository) |
|
|
|
where TEntity : class, IEntity |
|
|
|
{ |
|
|
|
|