Skip to content

Allow sharing of DbContext when using ConfigurationBasedRepository or RepositoryFactory #61

@jtreuting

Description

@jtreuting

Look at http://stackoverflow.com/questions/15273074/sharprepository-ef5-how-to-share-dbcontext for more info on the request.

Need to figure out the best way to allow passing in the DbContext. For RepositoryFactory we could allow some meta-data to be passed in that is used by the approprate specific factory if it matches what it is looking for. Or we could create a way in the config file to tell us what Ioc container to use to create the DbContext object. Then it could be handled there.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions