-->
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: Implementing IBindingList in Bag NH Collection Type
PostPosted: Mon Oct 03, 2005 7:12 am 
Newbie

Joined: Tue Aug 02, 2005 11:36 am
Posts: 7
Hi folks!! After a time using NHib, I think is time to contribute a bit. My idea is to implement an inheritance of bag which implements the IBindingList interface. This will allow to put a bag directly into a datagrid and, implementing IEditableObject in the objects inside that bag, it becomes possible to edit directly those objects and persists directly. I


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 03, 2005 9:22 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I wrote about it just recently in the development mailing list, see here.

I think it's better to add your own collection type instead of trying to retrofit IBindingList implementation on the existing type.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 03, 2005 4:30 pm 
Contributor
Contributor

Joined: Sat Sep 24, 2005 11:25 am
Posts: 198
Take a look at what I did to add generic interface to NHibernate.
It would allow you to create a IBindingList wrapper to IList without modifying NHibernate.


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.