Lite |
The LiteQueryableT type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Execute Count methos in filter query | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExecuteReader | Execute query and returns resultset as generic BsonDataReader | |
| Exists | Returns true/false if query returns any result | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| First | Returns first document of resultset | |
| FirstOrDefault | Returns first document of resultset or null if resultset are empty | |
| ForUpdate | Execute query locking collection in write mode. This is avoid any other thread change results after read document and before transaction ends | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPlan | Get execution plan over current query definition to see how engine will execute query | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GroupBy | Groups the documents of resultset according to a specified key selector expression (support only one GroupBy) | |
| Having | Filter documents after group by pipe according to predicate expression (requires GroupBy and support only one Having) | |
| Include(BsonExpression) | Load cross reference documents from path expression (DbRef reference) | |
| Include(ListBsonExpression) | Load cross reference documents from path expression (DbRef reference) | |
| IncludeK(ExpressionFuncT, K) | Load cross reference documents from path expression (DbRef reference) | |
| Into | ||
| Limit | Return a specified number of contiguous documents from start of resultset | |
| LongCount | Execute Count methos in filter query | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Offset | Bypasses a specified number of documents in resultset and retun the remaining documents (same as Skip) | |
| OrderBy(BsonExpression, Int32) | Sort the documents of resultset in ascending (or descending) order according to a key (support only one OrderBy) | |
| OrderByK(ExpressionFuncT, K, Int32) | Sort the documents of resultset in ascending (or descending) order according to a key (support only one OrderBy) | |
| OrderByDescending(BsonExpression) | Sort the documents of resultset in descending order according to a key (support only one OrderBy) | |
| OrderByDescendingK(ExpressionFuncT, K) | Sort the documents of resultset in descending order according to a key (support only one OrderBy) | |
| Select(BsonExpression) | Transform input document into a new output document. Can be used with each document, group by or all source | |
| SelectK(ExpressionFuncT, K) | Project each document of resultset into a new document/value based on selector expression | |
| Single | Returns the only document of resultset, and throw an exception if there not exactly one document in the sequence | |
| SingleOrDefault | Returns the only document of resultset, or null if resultset are empty; this method throw an exception if there not exactly one document in the sequence | |
| Skip | Bypasses a specified number of documents in resultset and retun the remaining documents (same as Offset) | |
| ToArray | Execute query and return results as an Array | |
| ToDocuments | Execute query and return resultset as IEnumerable of documents | |
| ToEnumerable | Execute query and return resultset as IEnumerable of T. If T is a ValueType or String, return values only (not documents) | |
| ToList | Execute query and return results as a List | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Where(BsonExpression) | Filters a sequence of documents based on a predicate expression | |
| Where(ExpressionFuncT, Boolean) | Filters a sequence of documents based on a predicate expression | |
| Where(String, BsonDocument) | Filters a sequence of documents based on a predicate expression | |
| Where(String, BsonValue) | Filters a sequence of documents based on a predicate expression |
| Name | Description | |
|---|---|---|
| _collection | ||
| _engine | ||
| _mapper | ||
| _query |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |