I setup my database to insert some default values for rows.

However (and I think this is correct behaviour) if the value is null in my object then it get's written as a null to the database and not the default.

Is there anyway in my object I can tag a property to be "not defined" so the default gets inserted? Generally this would be for "not null" columns so a solution that said "treat nulls as undefined and insert the default" would work.

Edward