File tree Expand file tree Collapse file tree 6 files changed +0
-12
lines changed
Expand file tree Collapse file tree 6 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ public Task<bool> TryDeleteAsync(
149149 string documentId ,
150150 string partitionKey ,
151151 CancellationToken cancellationToken = default ) ;
152- #if PREVIEW
153152
154153 /// <summary>
155154 /// Preview Feature DeleteAllItemsByPartitionKey.<br/>
@@ -168,7 +167,6 @@ public Task<bool> TryDeleteAsync(
168167 public Task DeletePartitionAsync (
169168 string partitionKey ,
170169 CancellationToken cancellationToken = default ) ;
171- #endif
172170
173171 /// <summary>
174172 /// Updates a <typeparamref name="T"/> resource that is read from the configured
Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ await container
175175
176176 return true ;
177177 }
178- #if PREVIEW
179178
180179 public Task DeletePartitionAsync (
181180 string partitionKey ,
@@ -189,7 +188,6 @@ public Task DeletePartitionAsync(
189188 } ,
190189 cancellationToken : cancellationToken )
191190 . ProcessResponseMessage ( ) ;
192- #endif
193191
194192 public Task < T > UpdateAsync (
195193 string documentId ,
Original file line number Diff line number Diff line change @@ -481,7 +481,6 @@ Task<bool> ICosmosWriter<T>.TryDeleteAsync(
481481 documentId ,
482482 partitionKey ,
483483 cancellationToken ) ;
484- #if PREVIEW
485484
486485 Task ICosmosWriter < T > . DeletePartitionAsync (
487486 string partitionKey ,
@@ -490,7 +489,6 @@ Task ICosmosWriter<T>.DeletePartitionAsync(
490489 . DeletePartitionAsync (
491490 partitionKey ,
492491 cancellationToken ) ;
493- #endif
494492
495493 Task < T > ICosmosWriter < T > . UpdateAsync (
496494 string documentId ,
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ await DeleteAsync(
153153
154154 return true ;
155155 }
156- #if PREVIEW
157156
158157 public virtual Task DeletePartitionAsync (
159158 string partitionKey ,
@@ -164,7 +163,6 @@ public virtual Task DeletePartitionAsync(
164163
165164 return Task . CompletedTask ;
166165 }
167- #endif
168166
169167 public virtual Task < T > UpdateAsync (
170168 string documentId ,
Original file line number Diff line number Diff line change @@ -296,7 +296,6 @@ public async Task Should_Return_False_When_Trying_To_Delete_NonExisting_Resource
296296#endif
297297 cancellationToken: cancellationToken) ;
298298 }
299- #if PREVIEW
300299
301300 [ Theory , AutoNSubstituteData ]
302301 public async Task DeletePartitionAsync_Calls_DeleteAllItemsByPartitionKeyStreamAsync_On_Container (
@@ -323,7 +322,6 @@ public Task DeletePartitionAsync_Throws_CosmosException_If_ResponseMessage_Is_No
323322 Func < Task > act = ( ) => sut . DeletePartitionAsync ( record . Pk , cancellationToken ) ;
324323 return act . Should ( ) . ThrowAsync < CosmosException > ( ) ;
325324 }
326- #endif
327325
328326 [ Theory , AutoNSubstituteData ]
329327 public async Task UpdateAsync_Reads_The_Resource (
Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ public async Task DeleteAsync_Should_Replace_Existing_Document(
211211 . Should ( )
212212 . NotContain ( existingDocument ) ;
213213 }
214- #if PREVIEW
215214
216215 [ Theory , AutoNSubstituteData ]
217216 public async Task DeletePartitionAsyncAsync_Should_Delete_Existing_Documents (
@@ -249,7 +248,6 @@ public async Task DeletePartitionAsyncAsync_Should_Delete_Existing_Documents(
249248 . And
250249 . Contain ( existingDocument3 ) ;
251250 }
252- #endif
253251
254252 [ Theory , AutoNSubstituteData ]
255253 public void UpdateAsync_Should_Throw_If_Document_Does_Not_Exists (
You can’t perform that action at this time.
0 commit comments