Class DataProtectionKeyCollection
The Data Protection key ring. Default collection name DataProtectionKey.
public class DataProtectionKeyCollection : DiskRepositoryCollectionBase<DataProtectionKeyEntity>, IDataProtectionKeyCollection, IDiskRepositoryCollection<DataProtectionKeyEntity>, IDiskRepositoryCollection<DataProtectionKeyEntity, ObjectId>, IRepositoryCollection<DataProtectionKeyEntity, ObjectId>, IReadOnlyRepositoryCollection<DataProtectionKeyEntity, ObjectId>, IRepositoryCollection, IReadOnlyRepositoryCollection
- Inheritance
-
RepositoryCollectionBaseDiskRepositoryCollectionBase<DataProtectionKeyEntity>DataProtectionKeyCollection
- Implements
-
IDiskRepositoryCollection<DataProtectionKeyEntity>IRepositoryCollectionIReadOnlyRepositoryCollection
- Inherited Members
-
DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.GetCollection()DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.DropCollectionAsync()DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.GetDirtyAsync()DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.GetFailedIndices()DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.DropEmptyAsync(IMongoCollection<DataProtectionKeyEntity>)DiskRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.FetchSizeRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>._mongoDbServiceFactoryRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>._loggerRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>._databaseContextRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>._mongoDbServiceRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.InitAsync(IMongoCollection<DataProtectionKeyEntity>)RepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.ProtectedCollectionNameRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.CollectionNameRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.DatabasePartRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.ConfigurationNameRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.AutoCleanRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.CleanOnStartupRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.CreateCollectionStrategyRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.IndicesRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.CoreIndicesRepositoryCollectionBase<DataProtectionKeyEntity, ObjectId>.TypesRepositoryCollectionBase.ConfigurationNameRepositoryCollectionBase.ActionEvent
Remarks
Shared by every instance that reads the same database, which is the point of keeping it here.
Constructors
DataProtectionKeyCollection(IMongoDbServiceFactory, ILogger<DataProtectionKeyCollection>, IOptions<ThargaTeamOptions>)
public DataProtectionKeyCollection(IMongoDbServiceFactory mongoDbServiceFactory, ILogger<DataProtectionKeyCollection> logger, IOptions<ThargaTeamOptions> options = null)
Parameters
mongoDbServiceFactoryIMongoDbServiceFactoryloggerILogger<DataProtectionKeyCollection>optionsIOptions<ThargaTeamOptions>
Properties
CollectionName
public override string CollectionName { get; }
Property Value
Indices
public override IEnumerable<CreateIndexModel<DataProtectionKeyEntity>> Indices { get; }
Property Value
- IEnumerable<CreateIndexModel<DataProtectionKeyEntity>>