These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: I need help with mapping IList Generic using C#
PostPosted: Thu Oct 25, 2007 7:14 pm 
Newbie

Joined: Thu Oct 25, 2007 7:09 pm
Posts: 1
Hi Dear Friends:

I need Map a Class in C# with NHibernate , but i don't have any example for this.

I ' am using IList to the Collection.Generic , how can map with hibernate a type Generic?

give me any example please.

thanks for yours , my friends..

Anyela from Chile


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 2:12 am 
Senior
Senior

Joined: Mon Aug 21, 2006 9:18 am
Posts: 179
You don't need to specify anything special in NHibernate for a IList<T>.
Code:
<bag name="MyCollection">
...
</bag>


The docs have examples of mapping collections

_________________
If this helped...please remember to rate it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.