Show / Hide Table of Contents

Class CosmosDbParentedItemRepository<T>

Inheritance
object
CosmosRepository<T>
CosmosOwnedItemRepository<T>
CosmosDbParentedItemRepository<T>
Implements
IParentedItemRepository<T>
IOwnedItemRepository<T>
IRepository<T>
Inherited Members
CosmosOwnedItemRepository<T>.GetAllAsync(string)
CosmosOwnedItemRepository<T>.GetByIdAsync(string, string)
CosmosOwnedItemRepository<T>.DeleteAsync(T)
CosmosOwnedItemRepository<T>.BulkMaxConcurrency
CosmosOwnedItemRepository<T>.BulkMaxRetries
CosmosOwnedItemRepository<T>.DeleteAllByOwnerIdAsync(string, CancellationToken)
CosmosOwnedItemRepository<T>.DeleteAllByOwnerIdAsync(string, int, int, CancellationToken)
CosmosOwnedItemRepository<T>.DeleteWithRetryAsync(T, int, CancellationToken)
CosmosOwnedItemRepository<T>.SaveAllAsync(IEnumerable<T>, CancellationToken)
CosmosOwnedItemRepository<T>.SaveAllAsync(IEnumerable<T>, int, int, CancellationToken)
CosmosOwnedItemRepository<T>.SaveWithRetryAsync(T, int, CancellationToken)
CosmosRepository<T>.DiscriminatorValue
CosmosRepository<T>.Logger
CosmosRepository<T>._Options
CosmosRepository<T>.GetContainer()
CosmosRepository<T>.DeleteAsync(string)
CosmosRepository<T>.GetAllAsync()
CosmosRepository<T>.GetResults(IQueryable<T>, string, PartitionKey)
CosmosRepository<T>.GetResults(FeedIterator<T>, string)
CosmosRepository<T>.GetQueryDescription(string)
CosmosRepository<T>.GetQueryDescription(string, string)
CosmosRepository<T>.IsCrossPartitionQuery(CosmosDiagnostics)
CosmosRepository<T>.GetByIdAsync(string)
CosmosRepository<T>.Initialize()
CosmosRepository<T>.SaveAsync(T)
CosmosRepository<T>.BatchSize
CosmosRepository<T>.SaveAsync(IList<T>)
CosmosRepository<T>.SaveBatchAsync(int, int, T[])
CosmosRepository<T>.AfterSaveBatch(TransactionalBatchResponse, T[], int, int)
CosmosRepository<T>.BeforeSaveBatch(TransactionalBatch, T[], int, int)
CosmosRepository<T>.GetPartitionKey(T)
CosmosRepository<T>.GetPartitionKey(string, string)
CosmosRepository<T>.GetQueryable(string)
CosmosRepository<T>.GetQueryable(string, string)
CosmosRepository<T>.GetQueryable()
CosmosRepository<T>.GetPagedAsync(int, string)
CosmosRepository<T>.GetPagedAsync(string, int, string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.CosmosDb.Repositories
Assembly: Benday.CosmosDb.dll
Syntax
public class CosmosDbParentedItemRepository<T> : CosmosOwnedItemRepository<T>, IParentedItemRepository<T>, IOwnedItemRepository<T>, IRepository<T> where T : class, IParentedItem, new()
Type Parameters
Name Description
T

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
Type Name Description
IOptions<CosmosRepositoryOptions<T>> options
CosmosClient client
ILogger<CosmosOwnedItemRepository<T>> logger

Methods

| Edit this page View Source

GetAllByParentIdAsync(string, string, string?)

Declaration
public Task<List<T>> GetAllByParentIdAsync(string ownerId, string parentId, string? parentDiscriminator = null)
Parameters
Type Name Description
string ownerId
string parentId
string parentDiscriminator
Returns
Type Description
Task<List<T>>

Implements

IParentedItemRepository<T>
IOwnedItemRepository<T>
IRepository<T>
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com