G
Guest
I've created a project data source based on an interface that in turn derives
from another interface. When in Visual Studio Data Sources view I examine the
properties exposed by the data source, I see only those properties in the
derived interface and none from the base interface.
A data source created from a class that implements the derived interface
exposes properties from both the derived interface and the base interface.
Is it possible to create a data source based on a derived interface that
also exposes properties from the base interface? At the moment the only work
around I see is to use a data source based on a class that implements the
derived interface. Since at runtime I may be displaying data from one of
several different classes that implement the interface, I'll be running the
risk of a runtime error if I happen to select at design time a property
exposed by the class I used as the data source type but that is not declared
in the interface.
Thank you,
Mike
from another interface. When in Visual Studio Data Sources view I examine the
properties exposed by the data source, I see only those properties in the
derived interface and none from the base interface.
A data source created from a class that implements the derived interface
exposes properties from both the derived interface and the base interface.
Is it possible to create a data source based on a derived interface that
also exposes properties from the base interface? At the moment the only work
around I see is to use a data source based on a class that implements the
derived interface. Since at runtime I may be displaying data from one of
several different classes that implement the interface, I'll be running the
risk of a runtime error if I happen to select at design time a property
exposed by the class I used as the data source type but that is not declared
in the interface.
Thank you,
Mike