I am using the 2.5 Beta, although I think this problem relates to 2.0 as well.
I am trying to write custom code in the generic EntityCollection generated class. Inside this custom code, I am trying to use functionality that I have written into CommonEntityBase. However, the generic collection is constrained to type EntityBase2 instead of CommonEntityBase. Shouldn't this be constrained to type CommonEntityBase, as all generated entities inherit off this class? (I think this may be true for only 2.5, but possible in 2.0 as well).