Currently each type creates its own property metadata for all properties.
This means that for classes that use inheritance, and properties inherited
from base classes have their own set of property metadata and thus changes
made to them are not shared. Example:
public class A {
public int Prop { get; set; }
}
public class B : A { }
The following should succeed after the change;
context.TypeHandlerFactory[typeof(A)].FindProperty("Prop") ==
context.TypeHandlerFactory[typeof(B)].FindProperty("Prop");
Care should be taken that overriden properties and shadowed properties are
not shared.
Original issue reported on code.google.com by elliott....@gmail.com on 4 Jan 2009 at 6:52
Original issue reported on code.google.com by
elliott....@gmail.com
on 4 Jan 2009 at 6:52