-
Notifications
You must be signed in to change notification settings - Fork 40
/
SqlServerDbContextOptionsBuilder.xml
445 lines (445 loc) · 35.2 KB
/
SqlServerDbContextOptionsBuilder.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
<Type Name="SqlServerDbContextOptionsBuilder" FullName="Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder">
<TypeSignature Language="C#" Value="public class SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder,Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension>" FrameworkAlternate="efcore-1.0;efcore-1.1;efcore-2.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SqlServerDbContextOptionsBuilder extends Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder`2<class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder, class Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension>" FrameworkAlternate="efcore-1.0;efcore-1.1;efcore-2.0" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" />
<TypeSignature Language="VB.NET" Value="Public Class SqlServerDbContextOptionsBuilder
Inherits RelationalDbContextOptionsBuilder(Of SqlServerDbContextOptionsBuilder, SqlServerOptionsExtension)" />
<TypeSignature Language="F#" Value="type SqlServerDbContextOptionsBuilder = class
 inherit RelationalDbContextOptionsBuilder<SqlServerDbContextOptionsBuilder, SqlServerOptionsExtension>" />
<TypeSignature Language="C#" Value="public class SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder,Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerOptionsExtension>" FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SqlServerDbContextOptionsBuilder extends Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder`2<class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder, class Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerOptionsExtension>" FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder,Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension></BaseTypeName>
<BaseTypeName FrameworkAlternate="efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0">Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder,Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerOptionsExtension></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="!0">Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</BaseTypeArgument>
<BaseTypeArgument TypeParamName="!1">Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.SqlServerOptionsExtension</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
<Docs>
<summary>
Allows SQL Server specific configuration to be performed on <see cref="T:Microsoft.EntityFrameworkCore.DbContextOptions" />.
</summary>
<remarks>
Instances of this class are returned from a call to <see cref="O:SqlServerDbContextOptionsExtensions.UseSqlServer" />
and it is not designed to be directly constructed in your application code.
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SqlServerDbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.#ctor(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (optionsBuilder As DbContextOptionsBuilder)" />
<MemberSignature Language="F#" Value="new Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="new Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder optionsBuilder" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="optionsBuilder" Type="Microsoft.EntityFrameworkCore.DbContextOptionsBuilder" />
</Parameters>
<Docs>
<param name="optionsBuilder">The options builder.</param>
<summary>
Initializes a new instance of the <see cref="T:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" /> class.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CloneExtension">
<MemberSignature Language="C#" Value="protected override Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension CloneExtension ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension CloneExtension() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.CloneExtension" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Function CloneExtension () As SqlServerOptionsExtension" />
<MemberSignature Language="F#" Value="override this.CloneExtension : unit -> Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension" Usage="sqlServerDbContextOptionsBuilder.CloneExtension " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Clones the configuration in this builder.
</summary>
<returns> The cloned configuration. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EnableRetryOnFailure">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function EnableRetryOnFailure () As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member EnableRetryOnFailure : unit -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.EnableRetryOnFailure : unit -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.EnableRetryOnFailure " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Configures the context to use the default retrying <see cref="T:Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy" />.
</summary>
<returns>To be added.</returns>
<remarks>
<para>
This strategy is specifically tailored to SQL Server (including Azure SQL). It is pre-configured with
error numbers for transient errors that can be retried.
</para>
<para>
Default values of 6 for the maximum retry count and 30 seconds for the maximum default delay are used.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-connection-resiliency">Connection resiliency and database retries</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableRetryOnFailure">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure (System.Collections.Generic.ICollection<int> errorNumbersToAdd);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure(class System.Collections.Generic.ICollection`1<int32> errorNumbersToAdd) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure(System.Collections.Generic.ICollection{System.Int32})" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function EnableRetryOnFailure (errorNumbersToAdd As ICollection(Of Integer)) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member EnableRetryOnFailure : System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.EnableRetryOnFailure : System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.EnableRetryOnFailure errorNumbersToAdd" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="errorNumbersToAdd" Type="System.Collections.Generic.ICollection<System.Int32>" Index="0" FrameworkAlternate="efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="errorNumbersToAdd">Additional SQL error numbers that should be considered transient.</param>
<summary>
Configures the context to use the default retrying <see cref="T:Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy" />.
</summary>
<returns>To be added.</returns>
<remarks>
<para>
This strategy is specifically tailored to SQL Server (including Azure SQL). It is pre-configured with
error numbers for transient errors that can be retried.
</para>
<para>
Default values of 6 for the maximum retry count and 30 seconds for the maximum default delay are used.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-connection-resiliency">Connection resiliency and database retries</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableRetryOnFailure">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure (int maxRetryCount);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure(int32 maxRetryCount) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function EnableRetryOnFailure (maxRetryCount As Integer) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member EnableRetryOnFailure : int -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.EnableRetryOnFailure : int -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.EnableRetryOnFailure maxRetryCount" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="maxRetryCount" Type="System.Int32" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="maxRetryCount">To be added.</param>
<summary>
Configures the context to use the default retrying <see cref="T:Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy" />.
</summary>
<returns>To be added.</returns>
<remarks>
<para>
This strategy is specifically tailored to SQL Server (including Azure SQL). It is pre-configured with
error numbers for transient errors that can be retried.
</para>
<para>
A default value 30 seconds for the maximum default delay is used.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-connection-resiliency">Connection resiliency and database retries</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableRetryOnFailure">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure (int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int> errorNumbersToAdd);" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure(int32 maxRetryCount, valuetype System.TimeSpan maxRetryDelay, class System.Collections.Generic.ICollection`1<int32> errorNumbersToAdd) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure(System.Int32,System.TimeSpan,System.Collections.Generic.ICollection{System.Int32})" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function EnableRetryOnFailure (maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As ICollection(Of Integer)) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member EnableRetryOnFailure : int * TimeSpan * System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.EnableRetryOnFailure : int * TimeSpan * System.Collections.Generic.ICollection<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.EnableRetryOnFailure (maxRetryCount, maxRetryDelay, errorNumbersToAdd)" />
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure (int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.ICollection<int>? errorNumbersToAdd);" FrameworkAlternate="efcore-6.0" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="maxRetryCount" Type="System.Int32" Index="0" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0" />
<Parameter Name="maxRetryDelay" Type="System.TimeSpan" Index="1" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0" />
<Parameter Name="errorNumbersToAdd" Type="System.Collections.Generic.ICollection<System.Int32>" Index="2" FrameworkAlternate="efcore-1.1;efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0" />
</Parameters>
<Docs>
<param name="maxRetryCount">The maximum number of retry attempts.</param>
<param name="maxRetryDelay">The maximum delay between retries.</param>
<param name="errorNumbersToAdd">Additional SQL error numbers that should be considered transient.</param>
<summary>
<para>
Configures the context to use the default retrying <see cref="T:Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy" />.
</para>
<para>
This strategy is specifically tailored to SQL Server (including SQL Azure). It is pre-configured with
error numbers for transient errors that can be retried, but additional error numbers can also be supplied.
</para>
</summary>
<returns>To be added.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-connection-resiliency">Connection resiliency and database retries</see>
for more information.
</remarks>
</Docs>
</Member>
<Member MemberName="EnableRetryOnFailure">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure (int maxRetryCount, TimeSpan maxRetryDelay, System.Collections.Generic.IEnumerable<int>? errorNumbersToAdd);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure(int32 maxRetryCount, valuetype System.TimeSpan maxRetryDelay, class System.Collections.Generic.IEnumerable`1<int32> errorNumbersToAdd) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure(System.Int32,System.TimeSpan,System.Collections.Generic.IEnumerable{System.Int32})" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function EnableRetryOnFailure (maxRetryCount As Integer, maxRetryDelay As TimeSpan, errorNumbersToAdd As IEnumerable(Of Integer)) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member EnableRetryOnFailure : int * TimeSpan * seq<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.EnableRetryOnFailure : int * TimeSpan * seq<int> -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.EnableRetryOnFailure (maxRetryCount, maxRetryDelay, errorNumbersToAdd)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="maxRetryCount" Type="System.Int32" Index="0" FrameworkAlternate="efcore-7.0;efcore-8.0" />
<Parameter Name="maxRetryDelay" Type="System.TimeSpan" Index="1" FrameworkAlternate="efcore-7.0;efcore-8.0" />
<Parameter Name="errorNumbersToAdd" Type="System.Collections.Generic.IEnumerable<System.Int32>" Index="2" FrameworkAlternate="efcore-7.0;efcore-8.0" />
</Parameters>
<Docs>
<param name="maxRetryCount">The maximum number of retry attempts.</param>
<param name="maxRetryDelay">The maximum delay between retries.</param>
<param name="errorNumbersToAdd">Additional SQL error numbers that should be considered transient.</param>
<summary>
Configures the context to use the default retrying <see cref="T:Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy" />.
</summary>
<returns>To be added.</returns>
<remarks>
<para>
This strategy is specifically tailored to SQL Server (including Azure SQL). It is pre-configured with
error numbers for transient errors that can be retried, but additional error numbers can also be supplied.
</para>
<para>
See <see href="https://aka.ms/efcore-docs-connection-resiliency">Connection resiliency and database retries</see>
for more information and examples.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="UseAzureSqlDefaults">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseAzureSqlDefaults (bool enable = true);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseAzureSqlDefaults(bool enable) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function UseAzureSqlDefaults (Optional enable As Boolean = true) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member UseAzureSqlDefaults : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.UseAzureSqlDefaults : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.UseAzureSqlDefaults enable" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="enable" Type="System.Boolean" Index="0" FrameworkAlternate="efcore-8.0" />
</Parameters>
<Docs>
<param name="enable">Whether the defaults should be enabled.</param>
<summary>
Configures the context to use defaults optimized for Azure SQL, including retries on errors.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseCompatibilityLevel">
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseCompatibilityLevel (int compatibilityLevel);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseCompatibilityLevel(int32 compatibilityLevel) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseCompatibilityLevel(System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function UseCompatibilityLevel (compatibilityLevel As Integer) As SqlServerDbContextOptionsBuilder" />
<MemberSignature Language="F#" Value="abstract member UseCompatibilityLevel : int -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.UseCompatibilityLevel : int -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.UseCompatibilityLevel compatibilityLevel" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="compatibilityLevel" Type="System.Int32" Index="0" FrameworkAlternate="efcore-8.0" />
</Parameters>
<Docs>
<param name="compatibilityLevel">
<see langword="false" /> to have null resource</param>
<summary>
Sets the SQL Server compatibility level that EF Core will use when interacting with the database. This allows configuring EF
Core to work with older (or newer) versions of SQL Server. Defaults to <c>160</c> (SQL Server 2022).
</summary>
<returns>To be added.</returns>
<remarks>
See <see href="https://aka.ms/efcore-docs-dbcontext-options">Using DbContextOptions</see>, and
<see href="https://learn.microsoft.com/sql/t-sql/statements/alter-database-transact-sql-compatibility-level">
SQL Server
documentation on compatibility level
</see>
for more information and examples.
</remarks>
</Docs>
</Member>
<Member MemberName="UseRowNumberForPaging">
<MemberSignature Language="C#" Value="public virtual void UseRowNumberForPaging ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UseRowNumberForPaging() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseRowNumberForPaging" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub UseRowNumberForPaging ()" />
<MemberSignature Language="F#" Value="abstract member UseRowNumberForPaging : unit -> unit
override this.UseRowNumberForPaging : unit -> unit" Usage="sqlServerDbContextOptionsBuilder.UseRowNumberForPaging " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>1.0.6.0</AssemblyVersion>
<AssemblyVersion>1.1.6.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Use a ROW_NUMBER() in queries instead of OFFSET/FETCH. This method is backwards-compatible to SQL Server 2005.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UseRowNumberForPaging">
<MemberSignature Language="C#" Value="public virtual void UseRowNumberForPaging (bool useRowNumberForPaging = true);" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UseRowNumberForPaging(bool useRowNumberForPaging) cil managed" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseRowNumberForPaging(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Sub UseRowNumberForPaging (Optional useRowNumberForPaging As Boolean = true)" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="F#" Value="abstract member UseRowNumberForPaging : bool -> unit
override this.UseRowNumberForPaging : bool -> unit" Usage="sqlServerDbContextOptionsBuilder.UseRowNumberForPaging useRowNumberForPaging" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2" />
<MemberSignature Language="C#" Value="public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseRowNumberForPaging (bool useRowNumberForPaging = true);" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseRowNumberForPaging(bool useRowNumberForPaging) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function UseRowNumberForPaging (Optional useRowNumberForPaging As Boolean = true) As SqlServerDbContextOptionsBuilder" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="F#" Value="abstract member UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder" Usage="sqlServerDbContextOptionsBuilder.UseRowNumberForPaging useRowNumberForPaging" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore.SqlServer</AssemblyName>
<AssemblyVersion>2.0.3.0</AssemblyVersion>
<AssemblyVersion>2.1.11.0</AssemblyVersion>
<AssemblyVersion>2.2.6.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="efcore-3.1">
<AttributeName Language="C#">[System.Obsolete("Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2">System.Void</ReturnType>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1">Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="useRowNumberForPaging" Type="System.Boolean" Index="0" FrameworkAlternate="efcore-2.0;efcore-2.1;efcore-2.2;efcore-3.0;efcore-3.1" />
</Parameters>
<Docs>
<param name="useRowNumberForPaging">To be added.</param>
<summary>
Use a ROW_NUMBER() in queries instead of OFFSET/FETCH. This method is backwards-compatible to SQL Server 2005.
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>