Class CosmosDbParentedItemRepository<T>
Inheritance
CosmosDbParentedItemRepository<T>
Assembly: Benday.CosmosDb.dll
Syntax
public class CosmosDbParentedItemRepository<T> : CosmosOwnedItemRepository<T>, IParentedItemRepository<T>, IOwnedItemRepository<T>, IRepository<T> where T : class, IParentedItem, new()
Type Parameters
Constructors
|
Edit this page
View Source
CosmosDbParentedItemRepository(IOptions<CosmosRepositoryOptions<T>>, CosmosClient, ILogger<CosmosOwnedItemRepository<T>>)
Declaration
public CosmosDbParentedItemRepository(IOptions<CosmosRepositoryOptions<T>> options, CosmosClient client, ILogger<CosmosOwnedItemRepository<T>> logger)
Parameters
Methods
|
Edit this page
View Source
GetAllByParentIdAsync(string, string, string?)
Declaration
public Task<List<T>> GetAllByParentIdAsync(string ownerId, string parentId, string? parentDiscriminator = null)
Parameters
Returns
Implements