Class DocumentBulkCommand<TDocument>
Набор команд изменения документов в рамках одного запроса к хранилищу.
Inheritance
System.Object
DocumentBulkCommand<TDocument>
Namespace:InfinniPlatform.DocumentStorage.Interceptors
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public sealed class DocumentBulkCommand<TDocument> : object
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Improve this Doc View SourceDocumentBulkCommand(IEnumerable<IDocumentWriteCommand<TDocument>>, Boolean)
Конструктор.
Declaration
public DocumentBulkCommand(IEnumerable<IDocumentWriteCommand<TDocument>> commands, bool isOrdered = false)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IDocumentWriteCommand<TDocument>> | commands | Набор команд изменения документов. |
System.Boolean | isOrdered | Обязательно ли выполнять команды по порядку. |
Properties
| Improve this Doc View SourceCommands
Набор команд изменения документов.
Declaration
public IEnumerable<IDocumentWriteCommand<TDocument>> Commands { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IDocumentWriteCommand<TDocument>> |
IsOrdered
Обязательно ли выполнять команды по порядку.
Declaration
public bool IsOrdered { get; }
Property Value
Type | Description |
---|---|
System.Boolean |