This functionality is currently being implemented for the visual designer. We support this in the "classic" wizards but have not introduced it yet in the designer. This will happen in one of the following versions.
At the moment you have two options, and it seems you have already found them:
- Update the DateTime value on the server, by using a function like getdate() (for MSSql) and set the Kind
of the DateTime property of the persistent class to PersistentReadOnly
, so it does not get included in the insert statements generated by OpenAccess.
- Set the DateTime value manually before calling SaveChanges().
the Telerik team