Skip to content
This repository was archived by the owner on Nov 3, 2019. It is now read-only.

Wondering if there should be an accessor to .Open? #9

@PureKrome

Description

@PureKrome

This is something that i'm doing .. and right now .. there's no way I can. (Yes, i can fork and PR 👍 )

basically, my repo takes either a connection string or an IDbExecutor. 1st ctor is for my normal code. 2nd ctor is for my TDD.

(pseudo code @ gist)

The reason i'm using two ctors is because i might use the SqlConnection multiple times in a a method (eg. get users, get cats, get dogs) .. and i open/close for each one call as early as possible.

thoughts, @half-ogre ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions