[nhusers] Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
Hello, I am using the observable collections implementation from the following post to handle collections within a WPF application. http://happynomad121.blogspot.com/2007/12/collections-for-wpf-and-nhibernate.html I am currently adding .CollectionTypeObservableSetTypeT() to each property

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
observable collections it is available here:http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns... http://code.google.com/p/unhaddins/source/browse/#svn/trunk/uNhAddIns...You can change it according to the implementations you are using. 2009/8/24 Chris Willard chris.will

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
/). 2009/8/24 Chris Willard chris.will...@rimrockgroup.com That is exactly what I needed!  I really appreciate all your great work... Chris On Aug 24, 3:02 pm, Fabio Maulo fabioma...@gmail.com wrote: The proposal of CollectionTypeFactoryClass is allow the substitutions of all

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
).AssemblyQualifiedName); } On Aug 24, 6:19 pm, Chris Willard chris.will...@rimrockgroup.com wrote: Hi José, I am attempting to try out your ObservableSet implementation but am having a couple of issues.  First off I can't seem to get the global registration working using the code you supplied below

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
of IDataErrorInfo public abstract string this[string columnName] { get; } public abstract string Error { get; } #endregion } On Aug 24, 6:28 pm, José Romaniello jfromanie...@gmail.com wrote: could your post the entity class? 2009/8/24 Chris Willard chris.will...@rimrockgroup.com

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
 pm, José Romaniello jfromanie...@gmail.com wrote: Sorry, I want to see the property where you need to put the observableset. And the code that you are using to remove an item from that collection. 2009/8/24 Chris Willard chris.will...@rimrockgroup.com Below is my base entity class.  I have

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
Yeah, I was thinking he wanted to see the entire entity for some reason... On Aug 24, 10:06 pm, Fabio Maulo fabioma...@gmail.com wrote: too much boiled code. 2009/8/24 Chris Willard chris.will...@rimrockgroup.com Oh yeah, sorry.  I am calling this extension method to remove the item

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-24 Thread Chris Willard
://jfromaniello.blogspot.com/2009/08/nhibernate-and-wpf-viewmodel... 2009/8/25 Chris Willard chris.will...@rimrockgroup.com Yeah, I was thinking he wanted to see the entire entity for some reason... On Aug 24, 10:06 pm, Fabio Maulo fabioma...@gmail.com wrote: too much boiled code. 2009/8/24

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-25 Thread Chris Willard
. 2009/8/25 Chris Willard chris.will...@rimrockgroup.com Those interfaces are implemented in my entity base class (BindableObject) from which GuidPOCO is derived (Section GuidPOCO BindableObject).  I am not familiar with the term boiled code, so I am not sure how to respond.  Please

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-25 Thread Chris Willard
...@gmail.com what I mean is that you can do the same without that boiled code. 2009/8/25 Chris Willard chris.will...@rimrockgroup.com Those interfaces are implemented in my entity base class (BindableObject) from which GuidPOCO is derived (Section GuidPOCO BindableObject

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-25 Thread Chris Willard
NH 2.1.0.4000 (GA) On Aug 25, 12:14 pm, Fabio Maulo fabioma...@gmail.com wrote: NH version ? 2009/8/25 Chris Willard chris.will...@rimrockgroup.com I just tried 731 and that did the trick. I no longer get an error when removing an item.  Thanks!  Now if I could just figure out how

[nhusers] Re: Set .CollectionTypeT globally with Fluent

2009-08-25 Thread Chris Willard
(Cfg.Environment.CollectionTypeFactoryClass, typeof (WpfCollectionTypeFactory).AssemblyQualifiedName); } Thanks, Chris On Aug 25, 12:41 pm, Fabio Maulo fabioma...@gmail.com wrote: It should work.Code tested in NH and applyed in uNhAddIns. 2009/8/25 Chris Willard chris.will...@rimrockgroup.com NH 2.1.0.4000 (GA

[nhusers] upgrading IHasManyToManyConvention to Fluent 1.0RC

2009-08-25 Thread Chris Willard
Hello, I am in the process of upgrading to the Fluent 1.0RC and and stuck on my IHasManyToManyConvention convention. I can't seem to figure out how to update ParentKeyColumn and ChildKeyColumn. Below is my original version. public void Apply(IManyToManyPart target) {