Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  25 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin  
View profile  
 More options Feb 20, 9:23 am
From: Kevin <mummaze...@yahoo.com>
Date: Fri, 20 Feb 2009 06:23:50 -0800 (PST)
Local: Fri, Feb 20 2009 9:23 am
Subject: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Hello all,

I've run into a bit of an issue with the implementation of Equals in
EntityWithTypedId<IdT> and the fact that NHibernate can sometimes
return dynamic proxies when using lazy loading.

I'm just getting started with NHibernate so my apologies if I am
butchering any of the details here.  I ran into the problem in a test
where I was comparing for equivalence a list of entities persisted and
evicted in setup to a corresponding list loaded in the method under
test.  One of the entities appeared to be coming back as the proxy
type and looks to be the result of the fact that the same entity was
loaded as a lazy proxy through an association on another entity loaded
within the target method.

I had figured that the type check in the Equals method might be the
issue and once I stepped through with the debugger it appears my
comparison was failing here:

if (compareTo == null || !GetType().Equals(compareTo.GetType()))
                return false;

I don't know that I have an answer as I realize Billy has very
carefully considered ithe implications of Equals and HashCode here but
I'm wondering if it may make sense to either ditch the GetType check
or consider some alternatives within Nhibernate itself.  I know there
is some way to specify an interface to be used for dynamic proxies if
necessary.  However, if we are casting using as, is it sufficient to
just satisfy the equality condition if compareTo is not null?

A few interesting, related links I came across:

http://cwmaier.blogspot.com/2007/07/liskov-substitution-principle-equ...
(Hibernate Specific)
http://blogs.chayachronicles.com/sonofnun/archive/2007/03/30/230.aspx

Thanks in advance for any help!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin  
View profile  
 More options Feb 24, 8:20 am
From: Kevin <mummaze...@yahoo.com>
Date: Tue, 24 Feb 2009 05:20:09 -0800 (PST)
Local: Tues, Feb 24 2009 8:20 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I hate to reply to my own post here but does anyone have any thoughts
here?  I would figure that someone would've run into this same problem
unless I am missing something very basic.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Mar 4, 12:37 am
From: Billy <wmccaffe...@gmail.com>
Date: Tue, 3 Mar 2009 21:37:02 -0800 (PST)
Local: Wed, Mar 4 2009 12:37 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Kevin,

I believe your suggestion for using a "cast as" and check for null
would solve the comparison-to-proxy you've encountered.  I will add
this as an issue and address accordingly.

Billy

On Feb 24, 6:20 am, Kevin <mummaze...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin  
View profile  
 More options Mar 4, 9:45 am
From: Kevin <mummaze...@yahoo.com>
Date: Wed, 4 Mar 2009 06:45:27 -0800 (PST)
Local: Wed, Mar 4 2009 9:45 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Billy,

This may already be obvious to you but a coworker did point out to me
that we do need to somehow check for type equality.  Otherwise, we
could run into a situation where objects with the same id but
different types would pass on the call to HasSameNonDefaultIdAs

Kevin

On Mar 4, 12:37 am, Billy <wmccaffe...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Mar 4, 2:39 pm
From: Billy <wmccaffe...@gmail.com>
Date: Wed, 4 Mar 2009 11:39:13 -0800 (PST)
Local: Wed, Mar 4 2009 2:39 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Hi Kevin,

Your point is valid and already taken care of by the framework via a
type comparison.  The hash code creation process also takes this into
account.

Please let me know if there is a specific bit of code that you're
concerned with.  You brought up the issue concerning the possible
comparison with a proxied object.  Was there another concern as well?

Billy

On Mar 4, 7:45 am, Kevin <mummaze...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 8:56 am
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 05:56:37 -0800 (PST)
Local: Thurs, Mar 5 2009 8:56 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
My understanding of Kevin's root problem is the following scenario:

Customer w/ ID 17 is not equal to Customer Proxy w/ ID 17

I think this would depend on the order you compared them. The proxy
can be cast back to the customer, but not vice versa.

On Mar 4, 2:39 pm, Billy <wmccaffe...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 9:02 am
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 06:02:07 -0800 (PST)
Local: Thurs, Mar 5 2009 9:02 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I guess I hit send a little too quickly there.

To clarify, my understanding from his post is that a proxy and a non-
proxy will never be equivalent with the current code.

When I referred to the order of comparison mattering, I was referring
to the suggestion to remove the GetType equality check and replace it
with some sort of casting and/or IsAssignableFrom type check.

On Mar 5, 8:56 am, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 2:13 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 11:13:14 -0800 (PST)
Local: Thurs, Mar 5 2009 2:13 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I can reproduce the issue, although for some reason trying to explain
things related to proxies turns me into an idiot today...

Start with the Northwind project, as it exists in trunk.

Add the following test to the CustomerRepositoryTests unit test class:

        [Test]
        public void ProxyEqualityTest()
        {
            var customer = CreatePersistedCustomer("GADGE", "Bob
Ross", "Gadgets Inc.", "USA");
            var order = CreatePersistentOrder(customer, DateTime.Now);

            var fetchedOrder = orderRepository.Get(order.Id);
            var proxyCustomer = fetchedOrder.OrderedBy;

            Assert.IsTrue(proxyCustomer.Equals(customer));
            Assert.IsTrue(customer.Equals(proxyCustomer));
        }

This test passes and everyone is happy.

Now, go into the CustomerMap class and disable eager loading by
commenting out this code: mapping.SetAttribute("lazy", "false");

Run the test again and the second assert will. Sadness commences.

Coming up with a solution is a different story - but this illustrates
the problem at least.

On Mar 5, 9:02 am, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Mar 5, 2:27 pm
From: Billy <wmccaffe...@gmail.com>
Date: Thu, 5 Mar 2009 11:27:08 -0800 (PST)
Local: Thurs, Mar 5 2009 2:27 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Having a breaking test is immensely helpful...thank you!  I'll wrastle
with it a bit. ;)

Billy

On Mar 5, 12:13 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 2:30 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 11:30:28 -0800 (PST)
Local: Thurs, Mar 5 2009 2:30 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I  want to point out that this isn't because the comparison is to the
"original" customer. If it was limited to that situation, it'd
probably be a fairly rare edge case. However, the test below also
fails, and I think it represents a much more common scenario.

        [Test]
        public void ProxyEqualityTest()
        {
            var originalCustomer = CreatePersistedCustomer("GADGE",
"Bob Ross", "Gadgets Inc.", "USA");
            var originalOrder = CreatePersistentOrder
(originalCustomer, DateTime.Now);

            var fetchedOrder = orderRepository.Get(originalOrder.Id);
            var associatedCustomer = fetchedOrder.OrderedBy;
            var fetchedCustomer = customerRepository.Get("GADGE");

            Assert.IsTrue(associatedCustomer.Equals(fetchedCustomer));
            Assert.IsTrue(fetchedCustomer.Equals(associatedCustomer));
        }

On Mar 5, 2:13 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Abreu  
View profile  
 More options Mar 5, 4:02 pm
From: "Luis Abreu" <lab...@gmail.com>
Date: Thu, 5 Mar 2009 21:02:59 -0000
Local: Thurs, Mar 5 2009 4:02 pm
Subject: RE: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Can't you just cast it to T before calling  the method?

Luis


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Abreu  
View profile  
 More options Mar 5, 4:03 pm
From: "Luis Abreu" <lab...@gmail.com>
Date: Thu, 5 Mar 2009 21:03:50 -0000
Local: Thurs, Mar 5 2009 4:03 pm
Subject: RE: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Btw, where does it fail? On the type comparison? Does it compares the IDs?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 4:38 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 13:38:41 -0800 (PST)
Local: Thurs, Mar 5 2009 4:38 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I believe (but have not yet verified) that it's this check:

!GetType().Equals(compareTo.GetType()

The T in EntityWithTypedId<T> is the type of the ID, not the Type of
the Entity.

On Mar 5, 4:03 pm, "Luis Abreu" <lab...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luis Abreu  
View profile  
 More options Mar 5, 4:54 pm
From: "Luis Abreu" <lab...@gmail.com>
Date: Thu, 5 Mar 2009 21:54:09 -0000
Local: Thurs, Mar 5 2009 4:54 pm
Subject: RE: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies

> -----Original Message-----
> From: sharp-architecture@googlegroups.com [mailto:sharp-
> architecture@googlegroups.com] On Behalf Of Jay Oliver
> Sent: quinta-feira, 5 de Março de 2009 21:39
> To: S#arp Architecture
> Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and
> NHibernate proxies

> I believe (but have not yet verified) that it's this check:

> !GetType().Equals(compareTo.GetType()

> The T in EntityWithTypedId<T> is the type of the ID, not the Type of
> the Entity.

I was suggesting something like:

* adding protected virtual method called CompareTypes. You'd only need to
override this if you were using proxies
* override it and do a type check based on the current type

Would something like this solve it? (that is, if it's failing on the type
comparison)

Luis


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 4:59 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 13:59:34 -0800 (PST)
Local: Thurs, Mar 5 2009 4:59 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
If you were willing to override something per entity, it could work. I
think it would be a lot of effort and kind of messy though. I'm hoping
that there's a way to resolve this at a framework level.

On Mar 5, 4:54 pm, "Luis Abreu" <lab...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 5:25 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 14:25:42 -0800 (PST)
Local: Thurs, Mar 5 2009 5:25 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Billy, Kevin pointed out to me that all NH proxy objects implement
INHibernateProxy, which might help with this, although I'm reluctant
to suggest anything that directly ties Core to NH.

On Mar 5, 2:27 pm, Billy <wmccaffe...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Mar 5, 5:36 pm
From: Billy <wmccaffe...@gmail.com>
Date: Thu, 5 Mar 2009 14:36:08 -0800 (PST)
Local: Thurs, Mar 5 2009 5:36 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I found a useful means to "unproxy" an object:

        public static object Unproxy(object possiblyProxiedObject) {
            if (possiblyProxiedObject is INHibernateProxy) {
                LazyInitializer li =
NHibernateProxyHelper.GetLazyInitializer((INHibernateProxy)
possiblyProxiedObject);
                return li.GetImplementation();
            }

            return possiblyProxiedObject;
        }

But as you noted, this would require a dependency to NHibernate.dll
added directly to SharpArch.Core.  We could add an IUnproxyService to
SharpArch.Core, implement it within SharpArchData, and use a service
locator to load the concrete unproxy service.  But that seems like
quite a tangle.  Thoughts?

Billy

On Mar 5, 3:25 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 5:48 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 14:48:36 -0800 (PST)
Local: Thurs, Mar 5 2009 5:48 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Well, we don't actually need to unproxy it, right? I think all the
other checks work fine if we can get past the type check.

How do you feel about something along these lines? Embedding the
string is kind of yucky, but it has the benefit of simplicity.

        public override bool Equals(object obj) {
            EntityWithTypedId<IdT> compareTo = obj as
EntityWithTypedId<IdT>;

            if (ReferenceEquals(this, compareTo))
                return true;

            if (compareTo == null || (!GetType().Equals
(compareTo.GetType()) &&
                !IsProxyOfSameType(GetType(), compareTo.GetType())))
                return false;

            if (HasSameNonDefaultIdAs(compareTo))
                return true;

            // Since the Ids aren't the same, both of them must be
transient to
            // compare domain signatures; because if one is transient
and the
            // other is a persisted entity, then they cannot be the
same object.
            return IsTransient() && compareTo.IsTransient() &&
                HasSameObjectSignatureAs(compareTo);
        }

        protected bool IsProxyOfSameType(Type type, Type compareType)
{
            return (compareType.GetInterface("INHibernateProxy")) !=
null && type.Equals(compareType.BaseType);
        }

On Mar 5, 5:36 pm, Billy <wmccaffe...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 5:55 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 14:55:54 -0800 (PST)
Local: Thurs, Mar 5 2009 5:55 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
One thing I can't figure out is why proxy.Equals(notProxy) ever
worked.

I wonder if they're shadowing GetType() in the proxy.

On Mar 5, 5:48 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 5:59 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 14:59:07 -0800 (PST)
Local: Thurs, Mar 5 2009 5:59 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
Yeah... quick test, and I think that is in fact what's happening.

Added this to Customer:

        public virtual Type GetRealType()
        {
            return GetType();
        }

Ran this code:

            Console.WriteLine(associatedCustomer.GetType());
            Console.WriteLine(associatedCustomer.GetRealType());

Got:

CustomerProxy8713892bc5274335b24bc1b75847a590
Northwind.Core.Customer

On Mar 5, 5:55 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James  
View profile  
 More options Mar 5, 6:28 pm
From: James <james.freiwi...@gmail.com>
Date: Thu, 5 Mar 2009 15:28:35 -0800 (PST)
Local: Thurs, Mar 5 2009 6:28 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I believe I've just run into this issue too. I was trying to do
something along the lines of:

IList<Products> distinctProducts = productRepository.GetAll().Distinct
();

Duplicates are not being removed correctly because some of the
products returned by the repository are in fact NHibernate proxy
objects and the equality check with real product is erroneously
returning false.

On Feb 20, 2:23 pm, Kevin <mummaze...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 5, 6:51 pm
From: Jay Oliver <kyth...@gmail.com>
Date: Thu, 5 Mar 2009 15:51:34 -0800 (PST)
Local: Thurs, Mar 5 2009 6:51 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
In re-reading my last post, I came up with a better solution -
basically take advantage of the fact that NHibernate's proxies are
shadowing GetType().

All we need to do is add one level of indirection to the type
comparison,so that the call comes from an object that knows the
concrete type of the proxy. The easiest way I could come up with to
actually implement this is below:

Add this method to EntityWithTypedId:

        protected virtual Type GetActualType()
        {
            return GetType();
        }

Check the check in Equals to this:

            if (compareTo == null || !GetType().Equals
(compareTo.GetActualType()) )

the this.GetType() call doesn't need to be modified, because if "this"
is a proxy it already hits the shadowed method.

On Mar 5, 6:28 pm, James <james.freiwi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Berryl Hesh  
View profile  
 More options Mar 5, 7:17 pm
From: Berryl Hesh <ef747...@gmail.com>
Date: Thu, 5 Mar 2009 16:17:33 -0800 (PST)
Local: Thurs, Mar 5 2009 7:17 pm
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
I hit this problem too and it was driving me nuts. I got around it
with the hack below, which helped me see what was actually happening.

I like Jay's latest solution better though. Nice work!

private bool IsProxy(EntityWithTypedId<IdT> other) {
            var myType = GetType().Name;
            var otherType = other.GetType().Name;
            return otherType.StartsWith(myType + "Proxy");
        }

On Mar 5, 3:51 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Mar 7, 11:16 am
From: Billy <wmccaffe...@gmail.com>
Date: Sat, 7 Mar 2009 08:16:10 -0800 (PST)
Local: Sat, Mar 7 2009 11:16 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
That worked like a charm Jay...great job on this fix!  I've checked in
the change.

Billy

On Mar 5, 4:51 pm, Jay Oliver <kyth...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jay Oliver  
View profile  
 More options Mar 9, 10:51 am
From: Jay Oliver <kyth...@gmail.com>
Date: Mon, 9 Mar 2009 07:51:43 -0700 (PDT)
Local: Mon, Mar 9 2009 10:51 am
Subject: Re: Problem with Equals in EntityWithTypedId<IdT> and NHibernate proxies
No problem. Glad it helped, sounds like more people than I expected
were affected by this issue, but had come up with their own
workarounds.

On Mar 7, 12:16 pm, Billy <wmccaffe...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google