@@ -102,7 +102,7 @@ public static IServiceCollection AddDateTimeOnlyAttributes(this IServiceCollecti
102102 #endregion
103103
104104 #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 ) ]
106106 public static IServiceCollection AddDbContextGenericsMethods < TDbContext > ( this IServiceCollection services ) where TDbContext : DbContext
107107 {
108108 services . AddScoped < DbContext , TDbContext > ( ) ;
@@ -122,7 +122,7 @@ public static IServiceCollection AddDbContextGenericsMethods<TDbContext>(this IS
122122 // return services;
123123 //}
124124
125- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
125+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
126126 public static IServiceCollection AddDbContextUseMySql < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
127127 {
128128 services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -144,7 +144,7 @@ public static IServiceCollection AddDbContextUseMySql<TDbContext>(this IServiceC
144144 return services ;
145145 }
146146
147- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
147+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
148148 public static IServiceCollection AddDbContextUsePostgres < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
149149 {
150150 services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -167,7 +167,7 @@ public static IServiceCollection AddDbContextUsePostgres<TDbContext>(this IServi
167167 return services ;
168168 }
169169
170- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
170+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
171171 public static IServiceCollection AddDbContextUseSQLServer < TDbContext > ( this IServiceCollection services , string connectionString , int retryOnFailure ) where TDbContext : DbContext
172172 {
173173 services . AddDbContextPool < TDbContext > ( optionBuilder =>
@@ -194,7 +194,7 @@ public static IServiceCollection AddDbContextUseSQLServer<TDbContext>(this IServ
194194 return services ;
195195 }
196196
197- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
197+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
198198 public static IServiceCollection AddDbContextUseSQLite < TDbContext > ( this IServiceCollection services , string connectionString ) where TDbContext : DbContext
199199 {
200200 services . AddDbContextPool < TDbContext > ( optionsBuilder =>
@@ -210,7 +210,7 @@ public static IServiceCollection AddDbContextUseSQLite<TDbContext>(this IService
210210 #endregion
211211
212212 #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 ) ]
214214 public static IServiceCollection AddMySqlHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
215215 {
216216 services . AddHealthChecks ( )
@@ -232,7 +232,7 @@ public static IServiceCollection AddMySqlHealthChecks(this IServiceCollection se
232232 return services ;
233233 }
234234
235- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
235+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
236236 public static IServiceCollection AddPostgresHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
237237 {
238238 services . AddHealthChecks ( )
@@ -254,7 +254,7 @@ public static IServiceCollection AddPostgresHealthChecks(this IServiceCollection
254254 return services ;
255255 }
256256
257- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
257+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
258258 public static IServiceCollection AddSqlServerHealthChecks ( this IServiceCollection services , string connectionString , string nameAsyncCheck )
259259 {
260260 services . AddHealthChecks ( )
@@ -276,7 +276,7 @@ public static IServiceCollection AddSqlServerHealthChecks(this IServiceCollectio
276276 return services ;
277277 }
278278
279- [ Obsolete ( "This method will be deprecated in future releases." , false ) ]
279+ [ Obsolete ( "This method will be deprecated in future releases." , true ) ]
280280 public static IEndpointRouteBuilder AddDatabaseHealthChecks ( this IEndpointRouteBuilder builder , string pattern , bool allowAnonymous = false )
281281 {
282282 if ( ! allowAnonymous )
0 commit comments