henkmollema / Dapper-FluentMap

Provides a simple API to fluently map POCO properties to database columns when using Dapper.
MIT License
427 stars 86 forks source link

Fix for non generated composite keys #129

Closed ritchtea closed 3 years ago

ritchtea commented 3 years ago

Allows for none generated keys and composite keys.

It uses the same logic found in https://github.com/henkmollema/Dommel/blob/master/src/Dommel/ColumnPropertyInfo.cs#L26

fixes https://github.com/henkmollema/Dapper-FluentMap/issues/122

darjanbogdan commented 3 years ago

@henkmollema Are there any plans to review and merge this PR? Thanks!

GrumpyRainbow commented 3 years ago

Running into the same issue this PR addresses. I'll second @darjanbogdan's question for @henkmollema. Can get around it with raw SQL, but it'd be nice to have this ability. Great library though! Been very happy with it so far.

henkmollema commented 3 years ago

Woops, this has been open for a while. I'll look into it this week.