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