Class CosmosDbParentedItemRepository<T>
Inheritance
CosmosDbParentedItemRepository<T>
Implements
IAsyncTenantRepository<T,
string>
Assembly: Benday.CosmosDb.dll
Syntax
public class CosmosDbParentedItemRepository<T> : CosmosTenantItemRepository<T>, IParentedItemRepository<T>, ITenantItemRepository<T>, IRepository<T>, IAsyncTenantRepository<T, string>, IAsyncRepository<T, string> where T : class, IParentedItem, new()
Type Parameters
Constructors
|
Edit this page
View Source
CosmosDbParentedItemRepository(IOptions<CosmosRepositoryOptions<T>>, CosmosClient, ILogger<CosmosTenantItemRepository<T>>, ICosmosQueryLogSink?)
Declaration
public CosmosDbParentedItemRepository(IOptions<CosmosRepositoryOptions<T>> options, CosmosClient client, ILogger<CosmosTenantItemRepository<T>> logger, ICosmosQueryLogSink? sink = null)
Parameters
Methods
|
Edit this page
View Source
GetAllByParentIdAsync(string, string, string?)
Declaration
public Task<List<T>> GetAllByParentIdAsync(string tenantId, string parentId, string? parentEntityType = null)
Parameters
Returns
Implements
Benday.Common.Interfaces.IAsyncTenantRepository<T, TKey>
Benday.Common.Interfaces.IAsyncRepository<T, TKey>