C# Class Raven.Database.Impl.DatabaseBulkOperations

Mostra file Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
DatabaseBulkOperations ( DocumentDatabase database, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System
DeleteByIndex ( string indexName, IndexQuery queryToDelete, bool allowStale ) : RavenJArray
UpdateByIndex ( string indexName, IndexQuery queryToUpdate, Raven.Abstractions.Data.PatchRequest patchRequests, bool allowStale ) : RavenJArray

Private Methods

Method Description
PerformBulkOperation ( string index, IndexQuery indexQuery, bool allowStale, Func batchOperation ) : RavenJArray

Method Details

DatabaseBulkOperations() public method

public DatabaseBulkOperations ( DocumentDatabase database, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System
database DocumentDatabase
transactionInformation Raven.Abstractions.Data.TransactionInformation
return System

DeleteByIndex() public method

public DeleteByIndex ( string indexName, IndexQuery queryToDelete, bool allowStale ) : RavenJArray
indexName string
queryToDelete Raven.Abstractions.Data.IndexQuery
allowStale bool
return RavenJArray

UpdateByIndex() public method

public UpdateByIndex ( string indexName, IndexQuery queryToUpdate, Raven.Abstractions.Data.PatchRequest patchRequests, bool allowStale ) : RavenJArray
indexName string
queryToUpdate Raven.Abstractions.Data.IndexQuery
patchRequests Raven.Abstractions.Data.PatchRequest
allowStale bool
return RavenJArray