Class FindOneAndReplaceOptions<TDocument, TProjection>
- Namespace
- MongoDB.Driver
- Assembly
- MongoDB.Driver.dll
public class FindOneAndReplaceOptions<TDocument, TProjection>
Type Parameters
TDocument
TProjection
- Inheritance
-
FindOneAndReplaceOptions<TDocument, TProjection>
- Derived
-
- Inherited Members
-
Constructors
FindOneAndReplaceOptions()
public FindOneAndReplaceOptions()
Properties
BypassDocumentValidation
public bool? BypassDocumentValidation { get; set; }
Property Value
- bool?
Collation
public Collation Collation { get; set; }
Property Value
- Collation
IsUpsert
public bool IsUpsert { get; set; }
Property Value
- bool
MaxTime
public TimeSpan? MaxTime { get; set; }
Property Value
- TimeSpan?
Projection
public ProjectionDefinition<TDocument, TProjection> Projection { get; set; }
Property Value
- ProjectionDefinition<TDocument, TProjection>
ReturnDocument
public ReturnDocument ReturnDocument { get; set; }
Property Value
- ReturnDocument
Sort
public SortDefinition<TDocument> Sort { get; set; }
Property Value
- SortDefinition<TDocument>