Class DocumentDeleteOneCommand<TDocument>
Команда удаления одного документа из хранилища.
Inheritance
System.Object
DocumentDeleteOneCommand<TDocument>
Namespace:InfinniPlatform.DocumentStorage.Interceptors
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public sealed class DocumentDeleteOneCommand<TDocument> : object, IDocumentWriteCommand<TDocument>
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Improve this Doc View SourceDocumentDeleteOneCommand(Expression<Func<TDocument, Boolean>>)
Конструктор.
Declaration
public DocumentDeleteOneCommand(Expression<Func<TDocument, bool>> filter = null)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<TDocument, System.Boolean>> | filter | Фильтр для поиска документов. |
Properties
| Improve this Doc View SourceFilter
Фильтр для поиска документов.
Declaration
public Expression<Func<TDocument, bool>> Filter { get; set; }
Property Value
Type | Description |
---|---|
Expression<Func<TDocument, System.Boolean>> |