File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
fundamentals/crud/write-operations
includes/page-templates/update Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -184,10 +184,12 @@ The ``ReplaceOptions`` class contains the following properties:
184184 **Data Type:** ``bool``
185185
186186 * - ``Sort``
187- - Specifies a sort order to apply to documents before the server
188- performs the replace operation. To set this option, you must
189- instantiate a ``ReplaceOptions<T>`` instance that uses a generic
190- type that models your data, as shown in the following code:
187+ - Determines which document the operation replaces if the query
188+ selects multiple documents, because the replace operation replaces
189+ the first document in the sort order specified. To set this
190+ option, you must instantiate an ``ReplaceOptions<T>`` instance
191+ that uses a generic type that models your data, as shown in the
192+ following code:
191193
192194 .. code-block:: csharp
193195
Original file line number Diff line number Diff line change @@ -193,10 +193,12 @@ The ``UpdateOptions`` class contains the following properties:
193193 **Data Type: ** ``bool ``
194194
195195 * - ``Sort ``
196- - Specifies a sort order to apply to documents before the server
197- performs the update operation. To set this option, you must
198- instantiate an ``UpdateOptions<T> `` instance that uses a generic
199- type that models your data, as shown in the following code:
196+ - Determines which document the operation updates if the query
197+ selects multiple documents, because the update operation updates
198+ the first document in the sort order specified. To set this
199+ option, you must instantiate an ``UpdateOptions<T> `` instance
200+ that uses a generic type that models your data, as shown in the
201+ following code:
200202
201203 .. code-block :: csharp
202204
You can’t perform that action at this time.
0 commit comments