Method Lte
Lte(FieldDefinition<TDocument, uint>, uint)
Creates a less than or equal filter for a UInt32 field.
[CLSCompliant(false)]
public FilterDefinition<TDocument> Lte(FieldDefinition<TDocument, uint> field, uint value)
Parameters
field
FieldDefinition<TDocument, uint>The field.
value
uintThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Lte(FieldDefinition<TDocument, ulong>, ulong)
Creates a less than or equal filter for a UInt64 field.
[CLSCompliant(false)]
public FilterDefinition<TDocument> Lte(FieldDefinition<TDocument, ulong> field, ulong value)
Parameters
field
FieldDefinition<TDocument, ulong>The field.
value
ulongThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Lte<TField>(FieldDefinition<TDocument, TField>, TField)
Creates a less than or equal filter.
public FilterDefinition<TDocument> Lte<TField>(FieldDefinition<TDocument, TField> field, TField value)
Parameters
field
FieldDefinition<TDocument, TField>The field.
value
TFieldThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Type Parameters
TField
The type of the field.
Lte(Expression<Func<TDocument, uint>>, uint)
Creates a less than or equal filter for a UInt32 field.
[CLSCompliant(false)]
public FilterDefinition<TDocument> Lte(Expression<Func<TDocument, uint>> field, uint value)
Parameters
field
Expression<Func<TDocument, uint>>The field.
value
uintThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Lte(Expression<Func<TDocument, ulong>>, ulong)
Creates a less than or equal filter for a UInt64 field.
[CLSCompliant(false)]
public FilterDefinition<TDocument> Lte(Expression<Func<TDocument, ulong>> field, ulong value)
Parameters
field
Expression<Func<TDocument, ulong>>The field.
value
ulongThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Lte<TField>(Expression<Func<TDocument, TField>>, TField)
Creates a less than or equal filter.
public FilterDefinition<TDocument> Lte<TField>(Expression<Func<TDocument, TField>> field, TField value)
Parameters
field
Expression<Func<TDocument, TField>>The field.
value
TFieldThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Type Parameters
TField
The type of the field.