As a note for future support: DateTime/Timestamps - IMO - should always be executed as a function using database specific functions. Some of this or most could be achieved using stored procedures which ES works with nicely, but I would like to suggest some serious thought given to support database specific Timestamps (I want to be careful here as the word timestamp is used differently by different users of different databases).
Essentially, let's assume we want every table in the database to store two pices of information:
1. The date/time created
2. The date/time last modified
In my opinion, a client-bsed date/time is always wrong: it can never match the exact moment in time properly. Further, it opens the door for improper manipulation.
Every database I am aware of uses/accepts a simple function, such as "GetDate()", as a "value". I suggest that thee are only a handful of officially supported databases by ES and that it wouldn;t take too long to list each database's respective function. I further suggest that ES use/allow a predefined Date/Time constant such as "November 12, 1901: 12:23:16". Such a constant is accurate to within millseconds and virtually impossible (statistically impossible) to "accidentally" coincide with a real date/time.
If this constant is applied as a value within an insert/update, the dummy constant value gets replaced with the database specific "GetDate()" function.
For me, this is HUGE! I could give speeches on why a client should never supply a Created/LastModified/Timestamp Date/Time. If the constant is named InsertServerBasedTimestamp, the code for an ES developer would be something like:
ESObject.Created = EsConstants.InsertServerBasedTimestamp;
Of course, you may imgine another alternative... please.. understand I am only making a suggestion to start some consideration for support in this direction. I STRONGLY believe that Date/Times, especially for the two scenarios I described (created/modified), should always be created by the server on the exact moment the server actually processes a particular transaction.
TIA