Show / Hide Table of Contents

Interface IDocumentFindCursor

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

Inherited Members
IDocumentCursor<DynamicDocument>.Any()
IDocumentCursor<DynamicDocument>.AnyAsync()
IDocumentCursor<DynamicDocument>.First()
IDocumentCursor<DynamicDocument>.FirstAsync()
IDocumentCursor<DynamicDocument>.FirstOrDefault()
IDocumentCursor<DynamicDocument>.FirstOrDefaultAsync()
IDocumentCursor<DynamicDocument>.ToList()
IDocumentCursor<DynamicDocument>.ToListAsync()
Namespace:InfinniPlatform.DocumentStorage
Assembly:InfinniPlatform.DocumentStorage.Abstractions.dll
Syntax
public interface IDocumentFindCursor : IDocumentCursor<DynamicDocument>

Methods

| Improve this Doc View Source

Count()

Возвращает количество документов, удовлетворяющих указанному фильтру.

Declaration
long Count()
Returns
Type Description
System.Int64
| Improve this Doc View Source

CountAsync()

Возвращает количество документов, удовлетворяющих указанному фильтру.

Declaration
Task<long> CountAsync()
Returns
Type Description
Task<System.Int64>
| Improve this Doc View Source

Limit(Int32)

Ограничивает результирующую выборку указанным количеством документов.

Declaration
IDocumentFindCursor Limit(int limit)
Parameters
Type Name Description
System.Int32 limit
Returns
Type Description
IDocumentFindCursor
| Improve this Doc View Source

Project(Action<IDocumentProjectionBuilder>)

Создает проекцию для выборки документов.

Declaration
IDocumentFindCursor Project(Action<IDocumentProjectionBuilder> projection)
Parameters
Type Name Description
Action<IDocumentProjectionBuilder> projection
Returns
Type Description
IDocumentFindCursor
| Improve this Doc View Source

Skip(Int32)

Пропускает указанное количество документов в результирующей выборке.

Declaration
IDocumentFindCursor Skip(int skip)
Parameters
Type Name Description
System.Int32 skip
Returns
Type Description
IDocumentFindCursor
| Improve this Doc View Source

SortBy(String)

Сортирует документы по возрастанию указанного свойства.

Declaration
IDocumentFindSortedCursor SortBy(string property)
Parameters
Type Name Description
System.String property
Returns
Type Description
IDocumentFindSortedCursor
| Improve this Doc View Source

SortByDescending(String)

Сортирует документы по убыванию указанного свойства.

Declaration
IDocumentFindSortedCursor SortByDescending(string property)
Parameters
Type Name Description
System.String property
Returns
Type Description
IDocumentFindSortedCursor
| Improve this Doc View Source

SortByTextScore(String)

Сортирует документы по убыванию релевантности, значение которой находится в указанном свойстве.

Declaration
IDocumentFindSortedCursor SortByTextScore(string textScoreProperty = null)
Parameters
Type Name Description
System.String textScoreProperty
Returns
Type Description
IDocumentFindSortedCursor
| Improve this Doc View Source

Where(Func<IDocumentFilterBuilder, Object>)

Добавляет условие фильтрации.

Declaration
IDocumentFindCursor Where(Func<IDocumentFilterBuilder, object> filter)
Parameters
Type Name Description
Func<IDocumentFilterBuilder, System.Object> filter

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

Returns
Type Description
IDocumentFindCursor

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.