SlapperAutoMapper / Slapper.AutoMapper

Slapper.AutoMapper maps dynamic data to static types. Slap your data into submission!
MIT License
287 stars 76 forks source link

What causes a record dropped and not being mapped? #54

Open wyf5188 opened 7 years ago

wyf5188 commented 7 years ago

I have a list of 33 dynamic objects retrieved from Dapper and try to use Slapper.AutoMapper.MapDynamic(dval, false).ToList(), but find three records are dropped. So the Slapper.AutoMapper only returns 30 objects. I wonder what causes the 3 records being dropped and un-mapped. I declare the following in TradingDeskDefault class. [Slapper.AutoMapper.Id] public long TradingDeskID { get; set; }

The 33 dynamic objects have unique values of TradingDeskID.

Please help. I use: "Slapper.AutoMapper": "1.0.0.9"