Class DocumentUpdateManyCommand
Команда обновления набора документов в хранилище.
Inheritance
System.Object
DocumentUpdateManyCommand
Namespace:InfinniPlatform.DocumentStorage.Interceptors
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public sealed class DocumentUpdateManyCommand : object, IDocumentWriteCommand
Constructors
| Improve this Doc View SourceDocumentUpdateManyCommand(Action<IDocumentUpdateBuilder>, Func<IDocumentFilterBuilder, Object>, Boolean)
Конструктор.
Declaration
public DocumentUpdateManyCommand(Action<IDocumentUpdateBuilder> update, Func<IDocumentFilterBuilder, object> filter = null, bool insertIfNotExists = false)
Parameters
Type | Name | Description |
---|---|---|
Action<IDocumentUpdateBuilder> | update | Оператор обновления документов. |
Func<IDocumentFilterBuilder, System.Object> | filter | Фильтр для поиска документов. |
System.Boolean | insertIfNotExists | Следует ли создать документ, если ничего не найдено. |
Properties
| Improve this Doc View SourceFilter
Фильтр для поиска документов.
Declaration
public Func<IDocumentFilterBuilder, object> Filter { get; set; }
Property Value
Type | Description |
---|---|
Func<IDocumentFilterBuilder, System.Object> |
InsertIfNotExists
Следует ли создать документ, если ничего не найдено.
Declaration
public bool InsertIfNotExists { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Update
Оператор обновления документов.
Declaration
public Action<IDocumentUpdateBuilder> Update { get; set; }
Property Value
Type | Description |
---|---|
Action<IDocumentUpdateBuilder> |