در NHibernate فیلدهایی که از نوع DateTime تعریف میشوند دارای مشکلاتی هستند. از جمله: ۱- اگر به جای DateTime? (نوع nullable) از DateTime استفاده کنید، به خاطر این که SQL Server Min. DateTime با .Net Min DateTime تفاوت دارد، آبجکت خود به خود dirty شده و احتمالاً یک update اضافه به سیستم تحمیل خواهد شد. …
In many applications that have world wide users, there is a need to dealing with UTC. In these applications, time is stored in UTC and then showed backed in local time to users. A good solution is not to bother developers to convert time to universal or local time every time manipulating time related data. …