-->
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: Casting ISET to .net
PostPosted: Wed Apr 18, 2007 9:38 am 
Newbie

Joined: Tue Mar 27, 2007 6:30 am
Posts: 12
I've been having problems with associtations. When I define an assocaition using a set markup, I get a casting error.

The iesa.ISet cannot be cast into any .net types.

I change my assocaition from an set to a bag and everything works.

None of the examples I have seen mention this. am I missing something in the use of the set.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 19, 2007 3:36 pm 
Newbie

Joined: Mon Apr 02, 2007 12:31 pm
Posts: 19
Are you using the correct namespace for the ISet? The full name is Iesi.Collections.ISet. Also make sure your project has a reference to Iesi.dll. Lists and bags use the native .Net collection types, but since .Net doesn't have an ISet interface you need to reference another library (Iesi.dll) in order to use them.


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.