I am trying to use custom attribute instead of xml file, but when I want to mark a class property as a timestamp(which can be found in the sample xml file given in the tutorials),I looked though all properties of AFColumnAttribute and can't find any property that can mark timestamp to be true.
Can you tell me how to do that?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Richard!
I am trying to use custom attribute instead of xml file, but when I want to mark a class property as a timestamp(which can be found in the sample xml file given in the tutorials),I looked though all properties of AFColumnAttribute and can't find any property that can mark timestamp to be true.
Can you tell me how to do that?
Thank you!
Timestamps are in the AFTable class level attribute.
Try something like
<AFTable("tablename","dbname",KeyType.usePrimary,CreatedTimestamp:="Created",ModifiedTimestamp:="Modified")>
- Richard.
Oh, I see.
Thanks!