On 7/11/06, hammett <[EMAIL PROTECTED]> wrote:
But does that make sense, I mean in the theoric sense? "I have a
primary key that might be null every now and then" (?)
Well, the int? is to easily identity unsaved value (null) without having
to use 0
Also, it's always a good practice to post the exception details ;-)
I know. Unfortunately, I am having a cut and paste problem with my VMWare.
I can't seen to copy.
On 7/11/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
> Can I have a Primary Key Property that is of type int?
>
> public int? Id
> {
> }
>
> I get an NHibernate error when I run.
--
Cheers,
hammett
http://hammett.castleproject.org/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
