Method Mul
Mul<TField>(FieldDefinition<TDocument, TField>, TField)
Creates a multiply operator.
public UpdateDefinition<TDocument> Mul<TField>(FieldDefinition<TDocument, TField> field, TField value)
Parameters
field
FieldDefinition<TDocument, TField>The field.
value
TFieldThe value.
Returns
- UpdateDefinition<TDocument>
A multiply operator.
Type Parameters
TField
The type of the field.
Mul<TField>(Expression<Func<TDocument, TField>>, TField)
Creates a multiply operator.
public UpdateDefinition<TDocument> Mul<TField>(Expression<Func<TDocument, TField>> field, TField value)
Parameters
field
Expression<Func<TDocument, TField>>The field.
value
TFieldThe value.
Returns
- UpdateDefinition<TDocument>
A multiply operator.
Type Parameters
TField
The type of the field.