Castle ActiveRecord Error With View: NHibernate.PropertyNotFoundException for generated key?

NosetterLowercaseUnderscore means that by convention a prefix '_' is used and it's lowercase, so the field should be called stupidid instead of stupidID.

NosetterLowercaseUnderscore means that by convention a prefix '_' is used and it's lowercase, so the field should be called _stupidid instead of stupidID. Also, the PK shouldn't be a nullable type. I'd use long instead of long?

Yeah, I was using a generator to make the class, and it always set that Access modifier. However, if you look at the error message, you can see that it was looking for a field without an underscore anyway (hence the problem) – Jeff D Sep 13 at 19:56 long? Shouldn't be there, sure, but that wasn't the problem either.

– Jeff D Sep 13 at 19:56 @Jeff : yes it is the problem, see the docs: github. Com/castleproject/Castle. ActiveRecord/blob/master/src/… – Mauricio Scheffer Sep 13 at 20:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions