Skip to content

Null values from database should overwrite values in object #170

Description

@GoogleCodeExporter
If I have an object with a Nullable type I would like Dapper to set the value 
to NULL when the object is populated from the database.

I have a constructor that sets a status property to a value of 1. The property 
is a Nullable<int>. If the value is set in the constructor when Dapper hydrates 
the object it will not overwrite the value of 1 with a value of NULL.


Original issue reported on code.google.com by brianhar...@gmail.com on 20 Feb 2014 at 8:42

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions