sorry for the second one mapping
type="String"

2009/4/21 Ahmed Emad <[email protected]>

>
> Can i add an identity property which isn't a primary key and another
> one which is primary key?
>
> assume this case:
>
> table : User
> UserId: ( PK,Identity).
> Username:(Identity)
>
> can i map it like that:
>
> <id  name="UserId" column="UserId" type="Int64">
>        <generator class="native"/>
> </id>
>
> <id  name="Username" column="Username" type="Int64">
>        <generator class="uuid.string"/>
> </id>
>
> Will any error will occur ?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to