Dapper-FluentMap | simple API to fluently map POCO properties | Object-Relational Mapping library
kandi X-RAY | Dapper-FluentMap Summary
kandi X-RAY | Dapper-FluentMap Summary
This Dapper extension allows you to fluently configure the mapping between POCO properties and database columns. This keeps your POCO's clean of mapping attributes. The functionality is similar to Entity Framework Fluent API. If you have any questions, suggestions or bugs, please don't hesitate to contact me or create an issue.
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 Dapper-FluentMap
Dapper-FluentMap Key Features
Dapper-FluentMap Examples and Code Snippets
Community Discussions
Trending Discussions on Dapper-FluentMap
QUESTION
ANSWER
Answered 2021-Oct-18 at 17:51You need to specify a key. ORMs require keys so they know which row to insert, delete or update. It's simply impossible for an ORM to work without keys. Dommel isn't a SQL generator, it works with Dapper so it needs keys.
The class does have keys anyway - that's a many-to-many table with a composite key. Dommel recognizes the Key
attribute which can be used to specify composite keys.
In Dommel's unit test the ProductsCategories class is used to represent a many-to-many relation with a composite key:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Dapper-FluentMap
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