Could you possibly post the generated SQL for the insert statement. Should shoud find it in the debug output window. The modified date should be NULL and the created date should be populated with todays date.
Also check that the columns are datetime columns and please let me know what database server you are using.
- Richard.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I've got problems with custom
attributes, especially with CreatedTimestamp resp. ModifiedTimestamp from AFTable. The whole attribute looks like this:
[AFTable("notifier", "alerter_test", AFTableAttribute.KeyType.useOIDValue, OIDColumn="oid", ModifiedTimestamp="modified", CreatedTimestamp="created")]
whereas "created" and "modified" are the names of the appropriate db-columns.
But when I save the object, these two columns remains default in the db although there is no compiler/runttime error. OIDColumn works.
Thanks in advance
Christian
Hi Christian,
Could you possibly post the generated SQL for the insert statement. Should shoud find it in the debug output window. The modified date should be NULL and the created date should be populated with todays date.
Also check that the columns are datetime columns and please let me know what database server you are using.
- Richard.