I am converting a legacy application which uses SQL Server and I want to use petapoco for my data access layer.
The tables definitions contains a lot of columns with DEFAULT values.
I would like my DAL to handle the default value when I insert new records.
Unfortunatey, using the ResultColumn
attribute is not a solution because the column is discarded when I use UPDATE and INSERT. A DEFAULT value does not act exactly as a readonly calculated field.
Is there a way to handle this ?