Dommel | CRUD operations with Dapper made simple | Object-Relational Mapping library
kandi X-RAY | Dommel Summary
kandi X-RAY | Dommel Summary
CRUD operations with Dapper made simple. Dommel provides a convenient API for CRUD operations using extension methods on the IDbConnection interface. The SQL queries are generated based on your POCO entities. Dommel also supports LINQ expressions which are being translated to SQL expressions. Dapper is used for query execution and object mapping. There are several extensibility points available to change the behavior of resolving table names, column names, the key property and POCO properties. See Extensibility for more details.
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 Dommel
Dommel Key Features
Dommel Examples and Code Snippets
Community Discussions
Trending Discussions on Dommel
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 Dommel
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