DapperRepository | dapperrepository wiki | Object-Relational Mapping library
kandi X-RAY | DapperRepository Summary
kandi X-RAY | DapperRepository Summary
Welcome to the DapperRepository wiki!. Simple SQL object mapper for ADO.NET. Dapper .NET source - Dapper Extensions - Latest modified by Elyor Latipov - mailto:elyor@outlook.com.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DapperRepository
DapperRepository Key Features
DapperRepository Examples and Code Snippets
Community Discussions
Trending Discussions on DapperRepository
QUESTION
For simplicity sake, I'd like to Inject a generic repository into a view model. I'm add the the ViewModel and Repository to the services collection and the ViewModel depends on the Repository. From what I've read, the ViewModel's constructor parameters should be resolved automatically, since it's using IConfiguration. I've tried explicitly instantiating the ViewModel in the Services
, but still get the same runtime error and seems to defeat the purpose as I'm creating another instance of the repository.
Repository/IRepository look like this
...ANSWER
Answered 2021-Jan-17 at 20:25change class structure to:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DapperRepository
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page