-->
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.  [ 3 posts ] 
Author Message
 Post subject: getting an IBindingList collection or similar
PostPosted: Fri Jul 13, 2007 4:21 pm 
Newbie

Joined: Fri Jul 13, 2007 4:12 pm
Posts: 2
I am new to NHibernate and so far have been using it through the SpringFramework wrappers.

I have a Winforms Grid that requires a IBindingList interface to be able to ADD rows. Through the spring abstraction I can get a ILIST (arraylist) or a Generic IList<t> (ArrayList<t> I believe.)

It's looking like I have to manually move the rows to an BindingList<t>. Is there anyway I can get to this directly by skipping the Spring abstraction?

Thanks,
jeff


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 14, 2007 10:21 am 
Beginner
Beginner

Joined: Tue Jul 10, 2007 5:27 am
Posts: 34
Location: Belgium
i believe you can simply pass your list to the BindingList<T> constructor

_________________
Davy Brion
http://ralinx.wordpress.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 14, 2007 11:13 am 
Newbie

Joined: Fri Jul 13, 2007 4:12 pm
Posts: 2
That did the trick. Thanks.

_________________
jeff


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.