public BundleAggregateRepository(IDocumentStoreWrapper documentStoreWrapper) { this.documentStoreWrapper = documentStoreWrapper ?? throw new ArgumentNullException(nameof(documentStoreWrapper)); collectionPrefix = documentStoreWrapper.DocumentStore.Conventions.GetCollectionName(typeof(Bundle)) + documentStoreWrapper.DocumentStore.Conventions.IdentityPartsSeparator; }
public OpenRavenSessionByDatabaseName(IDocumentStoreWrapper documentStoreWrapper, Func <IDictionary <string, string>, string> getDatabaseName = null) { this.documentStoreWrapper = documentStoreWrapper; this.getDatabaseName = getDatabaseName ?? (context => string.Empty); }
public RavenDbHealthCheck(IDocumentStoreWrapper documentStoreWrapper) { this.documentStoreWrapper = documentStoreWrapper ?? throw new ArgumentNullException(nameof(documentStoreWrapper)); }