it ipimiutduioi
This commit is contained in:
		| @@ -7,6 +7,10 @@ using Microsoft.EntityFrameworkCore; | ||||
|  | ||||
| #endregion | ||||
|  | ||||
| /// <summary> | ||||
| /// Service pour copier la BD localement au | ||||
| /// démarrage de l'API. | ||||
| /// </summary> | ||||
| public class DatabaseCacheService { | ||||
|     #region DI | ||||
|     private readonly IServiceScopeFactory _contextFactory; // https://entityframeworkcore.com/knowledge-base/51939451/how-to-use-a-database-context-in-a-singleton-service- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user