SubSonic SimpleRepository – Default Value

subsonicsubsonic3

Hopefully there's a solution/patch to SubSonic SimpleRepository where I can specify a column/property with a default value so that it populates the DB with the default value set.

I'm still reading the SubSonic Docs and just ran across that issue. Maybe someone has an answer/solution for this that I can start using.

Best Answer

If you want a default value then set it on your object - an attribute shouldn't be used to set values.