@@ -102,7 +102,7 @@ public static IServiceCollection AddDateTimeOnlyAttributes(this IServiceCollecti
102
102
#endregion
103
103
104
104
#region "DB CONTEXT EFCORE"
105
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
105
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
106
106
public static IServiceCollection AddDbContextGenericsMethods < TDbContext > ( this IServiceCollection services ) where TDbContext : DbContext
107
107
{
108
108
services . AddScoped < DbContext , TDbContext > ( ) ;
@@ -122,7 +122,7 @@ public static IServiceCollection AddDbContextGenericsMethods<TDbContext>(this IS
122
122
// return services;
123
123
//}
124
124
125
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
125
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
126
126
public static IServiceCollection AddDbContextUseMySql < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
127
127
{
128
128
services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -144,7 +144,7 @@ public static IServiceCollection AddDbContextUseMySql<TDbContext>(this IServiceC
144
144
return services ;
145
145
}
146
146
147
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
147
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
148
148
public static IServiceCollection AddDbContextUsePostgres < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
149
149
{
150
150
services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -167,7 +167,7 @@ public static IServiceCollection AddDbContextUsePostgres<TDbContext>(this IServi
167
167
return services ;
168
168
}
169
169
170
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
170
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
171
171
public static IServiceCollection AddDbContextUseSQLServer < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
172
172
{
173
173
services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -194,7 +194,7 @@ public static IServiceCollection AddDbContextUseSQLServer<TDbContext>(this IServ
194
194
return services ;
195
195
}
196
196
197
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
197
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
198
198
public static IServiceCollection AddDbContextUseSQLite < TDbContext > ( this IServiceCollection services , string connectionString ) where TDbContext : DbContext
199
199
{
200
200
services . AddDbContextPool < TDbContext > ( optionsBuilder =>
@@ -210,7 +210,7 @@ public static IServiceCollection AddDbContextUseSQLite<TDbContext>(this IService
210
210
#endregion
211
211
212
212
#region "HEALTH CHECKS"
213
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
213
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
214
214
public static IServiceCollection AddMySqlHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
215
215
{
216
216
services . AddHealthChecks ( )
@@ -232,7 +232,7 @@ public static IServiceCollection AddMySqlHealthChecks(this IServiceCollection se
232
232
return services ;
233
233
}
234
234
235
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
235
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
236
236
public static IServiceCollection AddPostgresHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
237
237
{
238
238
services . AddHealthChecks ( )
@@ -254,7 +254,7 @@ public static IServiceCollection AddPostgresHealthChecks(this IServiceCollection
254
254
return services ;
255
255
}
256
256
257
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
257
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
258
258
public static IServiceCollection AddSqlServerHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
259
259
{
260
260
services . AddHealthChecks ( )
@@ -276,7 +276,7 @@ public static IServiceCollection AddSqlServerHealthChecks(this IServiceCollectio
276
276
return services ;
277
277
}
278
278
279
- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
279
+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
280
280
public static IEndpointRouteBuilder AddDatabaseHealthChecks ( this IEndpointRouteBuilder builder , string pattern , bool allowAnonymous = false )
281
281
{
282
282
if ( ! allowAnonymous )
0 commit comments