What should be the UnsavedValue for a DateTime Version property in NHibernate 3 working on Fluennhibernate


0 votes
asked Mar 4, 2016 by codesalena (840 points)
Given non-nullable Oracle database column, LAST_UPDATED, of datatype DATE, and related C# property like:public virtual DateTime LastUpdated {get; set;}what is correct NHibernate property.

4 Answers

0 votes
answered Apr 7, 2016 by Guv_Call (880 points)
commented Apr 9, 2016 by Moulder (160 points)
I had this same problem and was having no luck with the suggested fixes
0 votes
answered Apr 22, 2016 by N_8185 (830 points)
You can see my source code here Chapter 1. NHibernateEg.Tutorial1A second way is by using two stack
No need to change anything else
0 votes
answered May 16, 2016 by Cer_air (940 points)
I had the following node script that was generating the warning in this question
See example here Implemented timestamp + dbtimestamp row version by ...
+1 vote
answered May 23, 2016 by Toti5525 (1,360 points)
There are different solution to this problem

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...