Show / Hide Table of Contents

Class DocumentUpdateManyCommand<TDocument>

Команда обновления набора документов в хранилище.

Inheritance
System.Object
DocumentUpdateManyCommand<TDocument>
Namespace:InfinniPlatform.DocumentStorage.Interceptors
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public sealed class DocumentUpdateManyCommand<TDocument> : object, IDocumentWriteCommand<TDocument>
Type Parameters
Name Description
TDocument

Constructors

| Improve this Doc View Source

DocumentUpdateManyCommand(Action<IDocumentUpdateBuilder<TDocument>>, Expression<Func<TDocument, Boolean>>, Boolean)

Конструктор.

Declaration
public DocumentUpdateManyCommand(Action<IDocumentUpdateBuilder<TDocument>> update, Expression<Func<TDocument, bool>> filter = null, bool insertIfNotExists = false)
Parameters
Type Name Description
Action<IDocumentUpdateBuilder<TDocument>> update

Оператор обновления документов.

Expression<Func<TDocument, System.Boolean>> filter

Фильтр для поиска документов.

System.Boolean insertIfNotExists

Следует ли создать документ, если ничего не найдено.

Properties

| Improve this Doc View Source

Filter

Фильтр для поиска документов.

Declaration
public Expression<Func<TDocument, bool>> Filter { get; set; }
Property Value
Type Description
Expression<Func<TDocument, System.Boolean>>
| Improve this Doc View Source

InsertIfNotExists

Следует ли создать документ, если ничего не найдено.

Declaration
public bool InsertIfNotExists { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Update

Оператор обновления документов.

Declaration
public Action<IDocumentUpdateBuilder<TDocument>> Update { get; set; }
Property Value
Type Description
Action<IDocumentUpdateBuilder<TDocument>>

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.