Skip to content
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

@nsedoud

Description

@nsedoud

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions