XWhere Methods |
The XWhere type exposes the following members.
Name | Description | |
---|---|---|
All |
return a where clause doing nothing: Operation = none to return all records
| |
And_(XWhere) |
Concats given XWhere statement with current XWhere using AND operator.
| |
And_(XWhere, XWhere) |
Created new XWhere using AND operator between given XWhere statements.
| |
And_(String, XWhereOperationEnum, BsonValue) |
Created new XWhere with And operator to add new xwhere statement based on field name and operation and value to current xwhere statement.
| |
And_(XWherePreOperationEnum, String, XWhereOperationEnum, BsonValue) |
Created new XWhere with And operator to add new xwhere statement based on field name ,preoperation, operation and value to current xwhere statement.
| |
And_(XWherePreOperationEnum, BsonValue, String, XWhereOperationEnum, BsonValue) |
Created new XWhere with And operator to add new xwhere statement based on field name ,preoperation,prevalue, operation and value to current xwhere statement.
| |
AndIsNotNull(String, BsonValue) |
Created new XWhere to check if field and value is not null using AndIsNotNull operation .
| |
AndIsNotNull(String, String, BsonValue) | ||
AndIsNull(String, BsonValue) |
Created new XWhere to check if field and value is null using AndIsNull operation .
| |
AndIsNull(String, String, BsonValue) | ||
Clear |
Resets the xwhere. See the default constructor
| |
Contains(String, BsonArray) |
Created new XWhere with Contains operation to check if field name contains any value from the bson array.
| |
Contains(String, BsonValue) |
Created new XWhere with Contains operation to check if field contains the value.
| |
Contains(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Contains operation to check if field contains the value with preoperation.
| |
Empty |
Returns an Empty dataset.
| |
EndWith |
Created new XWhere with EndsWith operation to check if field ends with the value.
| |
Eq(String, BsonValue) |
Created new XWhere with Equal operation .
| |
Eq(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Equal operation using preoperation.
| |
Eq(XWherePreOperationEnum, BsonValue, String, BsonValue) |
Created new XWhere with Equal operation using preoperation and prevalue.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Gt(String, BsonValue) |
Created new XWhere with Greater operation .
| |
Gt(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Greater operation using preoperation .
| |
Gte(String, BsonValue) |
Created new XWhere with Greater or Equal operation .
| |
Gte(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Greater or Equal operation using preoperation.
| |
In_(String, BsonArray) |
Created new XWhere with In operation to check if the field value is in an array.
| |
In_(XWherePreOperationEnum, String, BsonArray) |
Created new XWhere with In operation to check if the field value is in an array using preoperation.
| |
InRange |
Created new XWhere with InRange operation to check if the field value is in an array .
| |
IsAll |
Determines whether this instance contains xwhere.All.
| |
IsEmpty |
Determines whether this xwhere contains an Empty xwher.
| |
IsEmptyLink |
Created new XWhere to check if the link is Empty.
| |
IsNotEmptyLink |
Created new XWhere to check if the link is not Empty.
| |
IsNotNull |
Created new XWhere with INotsNull operation to check if field is not null.
| |
IsNotNullArray |
Created new XWhere with IsNotNullArray operation to check if field is not a null array.
| |
IsNull |
Created new XWhere with IsNull operation to check if field is null.
| |
IsNullArray |
Created new XWhere with IsNullArray operation to check if field is a null array.
| |
Lt(String, BsonValue) |
Created new XWhere with Less than operation .
| |
Lt(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Less than operation using preoperation .
| |
Lte(String, BsonValue) |
Created new XWhere with Less than or Equal operation .
| |
Lte(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Less than or Equal operation using preoperation.
| |
MaxId |
Get the maximum id.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MinId |
Get the minimum id.
| |
Modulo |
Created new XWhere with Modulo operation .
| |
NE(String, BsonValue) |
Created new XWhere with Not Equal operation .
| |
NE(XWherePreOperationEnum, String, BsonValue) |
Created new XWhere with Not Equal operation using preoperation .
| |
NE(XWherePreOperationEnum, BsonValue, String, BsonValue) |
Created new XWhere with Not Equal operation using preoperation and prevalue .
| |
Not_ |
Create new Xwhere statement with Not opration from given xwhere statement.
| |
OperationFromString |
Return OperationEnum from Operation name.
| |
Or_(XWhere) |
Join xwhere statement with current xwhere statement with OR operator
| |
Or_(String, XWhereOperationEnum) |
Create a new xwhere statement from fieldname and operation and join it with current xwhere statement using OR operator.
| |
Or_(XWhere, XWhere) |
Joins two xwhere statements with OR operator
| |
Or_(String, XWhereOperationEnum, BsonValue) |
Create a new xwhere statement from fieldname and operation and value and join it with current xwhere statement using OR operator.
| |
Or_(XWherePreOperationEnum, String, XWhereOperationEnum, BsonValue) |
Create a new xwhere statement from fieldname and preoperation and operation and value and join it with current xwhere statement using OR operator.
| |
Or_(XWherePreOperationEnum, BsonValue, String, XWhereOperationEnum, BsonValue) |
Create a new xwhere statement from fieldname ,preoperation,prevalue, operation and value and join it with current xwhere statement
using OR operator.
| |
RegExp(String, String) |
Created new XWhere with RegExp operation .
| |
RegExp(XWherePreOperationEnum, String, String) |
Created new XWhere with RegExp operation using preoperation.
| |
Simplify |
used to simplify the OR queries and avoid 500 imbricated XWhere instances
| |
Sql |
Returns an xwhere with sql query.
| |
StartWith |
Created new XWhere with StartsWith operation.
| |
Title |
build a title for the given Where clause, something that is understandable by most users
| |
ToString |
Returns a String that represents this xwhere.
(Overrides ObjectToString.) |