Interface IMongoDbServiceFactory
public interface IMongoDbServiceFactory
- Extension Methods
Properties
AllowDelayedCommit
Resolved value of DatabaseOptions.AllowDelayedCommit. Surfaced on the factory
so LockableRepositoryCollectionBase<TEntity, TKey> can read it as
the default for its virtual AllowDelayedCommit property without taking a direct
dependency on IOptions<DatabaseOptions>.
bool AllowDelayedCommit { get; }
Property Value
SourceName
string SourceName { get; }
Property Value
Methods
GetMongoDbService(Func<DatabaseContext>)
IMongoDbService GetMongoDbService(Func<DatabaseContext> databaseContextLoader)
Parameters
databaseContextLoaderFunc<DatabaseContext>
Returns
Events
CallEndEvent
event EventHandler<CallEndEventArgs> CallEndEvent
Event Type
CallStartEvent
event EventHandler<CallStartEventArgs> CallStartEvent
Event Type
CollectionAccessEvent
event EventHandler<CollectionAccessEventArgs> CollectionAccessEvent
Event Type
CollectionDroppedEvent
event EventHandler<CollectionDroppedEventArgs> CollectionDroppedEvent
Event Type
IndexUpdatedEvent
event EventHandler<IndexUpdatedEventArgs> IndexUpdatedEvent