Skip to content

Bug: Exception is being thrown for the Type level PropertyHandler for Dynamic Insertion #628

@mikependon

Description

@mikependon

An exception is being thrown if the Insert operation is called with anonymous types, like below.

connection.Insert("Table", new { Id = 1, ColumnDateTime = SomeDateValue });

And if you defined a property handler on the type level of the DateTime.

FluentMapper
    .Type<DateTime>()
    .PropertyHandler<DateTimeKindUtcPropertyHandler>();

Error Image:

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixedThe bug, issue, incident has been fixed.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions