Here is a problem, that I've got starting from my previous question. I have two types with two properties - "Guid" and "Guid?". And trying to Join em.
In a Join method you call DynamicQueryableExtensions.CheckOuterAndInnerTypes() method, that must check and convert not-a-nullable part to Nullable if needed.
But in fact after parsing Lambda, Method outterLambda.Body.Type returns Anonymous type. That is always not-a-nullable one.
Type example: {Name = "<>f__AnonymousType2761" FullName = "<>f__AnonymousType2761[[System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}
And so your library see that there is two different and not-nullable object. I'll try to make a demo project for you.
Nullable-Demo.zip
Here is a problem, that I've got starting from my previous question. I have two types with two properties - "Guid" and "Guid?". And trying to Join em.
In a Join method you call DynamicQueryableExtensions.CheckOuterAndInnerTypes() method, that must check and convert not-a-nullable part to Nullable if needed.
But in fact after parsing Lambda, Method outterLambda.Body.Type returns Anonymous type. That is always not-a-nullable one.
Type example: {Name = "<>f__AnonymousType276
1" FullName = "<>f__AnonymousType2761[[System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}And so your library see that there is two different and not-nullable object. I'll try to make a demo project for you.
Nullable-Demo.zip