Suppose that on your ProjectBus you created an entity class name is Person and here is our function does ;
Person p=new Person(){Name=Dummy Smith,LastLoginDate=DateTime.Now,....};
personEntityService.Persons.Add(p);
personEntityService.SubmitChanges();
I think we trust the datetime on client side,because we got client date.
If an operation is financial or pathologically important,client can fraud us. Or we may cause client's loss.
So I'm asking for best practices.
One solution we applied is getting server datetime and looking diffrence between server and client during login process.(or before any transaction on your transaction bridge) If the datetime diffrence is not applicable reject operation and throw your date is wrong!
Or we may do not use DateTime funcs. on client code ,they will be filled in server side. For this scenario we need to use db default fields or(and) we manage domain service class's submit ops.etc.
So what is formal,most choosen way of managing date fields in Silverlight Rich Internet Apps.
Any comment will be appreciated.