Does anyone know a way that I could set the default collation for a column, for example, for example. when I create a DB from mappings, would I have a DateTime column having getdate () as the default value?
I have tried so far (it looks exactly the way I need it), but it does not work.
this.Map(x => x.LastPersistedOn, "DateModified") .Access.Property() .Default("getdate()");
sql-server fluent-nhibernate
Nikola Malovic
source share