A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet-architecture/eShopOnContainers/issues/1392 below:

an instantiation of a dbcontext without the use of using block! · Issue #1392 · dotnet-architecture/eShopOnContainers · GitHub

This repository was archived by the owner on Nov 17, 2023. It is now read-only.

This repository was archived by the owner on Nov 17, 2023. It is now read-only.

an instantiation of a dbcontext without the use of using block! #1392

Description

in the [IntegrationEventLogService] class on line 27, you instantiate directly with new, the dbcontext [IntegrationEventLogContext].

with this way of doing things, without an explicit disposing or the usage of the resolution from the D.I container
how to make sure that the dbcontext will be disposed out correctly?

Metadata Metadata

Assignees

No one assigned

Development

No branches or pull requests Issue actions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4