Closed GoogleCodeExporter closed 8 years ago
Original comment by wmccaffe...@gmail.com
on 30 Sep 2009 at 9:08
Thanks for the re-fix! I made a slight modification to support all
IEntityWithTypedId<>:
else if (propertyType.GetInterfaces()
.Any(x => x.IsGenericType &&
x.GetGenericTypeDefinition() == typeof(IEntityWithTypedId<>))) {
AppendEntityCriteriaTo<IdT>(criteria, signatureProperty, propertyValue);
}
and
criteria.Add(Expression.Eq(signatureProperty.Name + ".Id",
((IEntityWithTypedId<IdT>)propertyValue).Id));
(Will be checking in the solution shortly for the Q3 release.)
Original comment by wmccaffe...@gmail.com
on 29 Oct 2009 at 9:27
Original issue reported on code.google.com by
goo...@deap.ca
on 15 Sep 2009 at 11:15