Click here to Skip to main content
15,307,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using two projects one is database and second in client

in database i have written the code in company.vb class

Private _User As NHibernate.Collection.Generic.PersistentGenericSet(Of User)


Public Overridable Property User() As NHibernate.Collection.Generic.PersistentGenericSet(Of User)
Get
Return _User
End Get
Set(ByVal value As NHibernate.Collection.Generic.PersistentGenericSet(Of User))
_User = value
End Set
End Property

and in company.hbm.xml

XML
<set name="User" cascade="save-update" table="User2Company" lazy="false" fetch="subselect">
      <key column="U2C_CompanyID" />
      <many-to-many class="User" column="U2C_UserID" />
    </set>



now in my client how can i access this the property of the user??
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900