Project Data Source Using Derived Interface

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Hi,

Can you tell me what's the version of Visual Studio .NET you are using?


Thanks & Regards,

Neil Ni
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=/international.aspx.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi,

I've checked on it and I'm sorry it's a limitation.

Sorry for the inconvenience.


Thanks & Regards,

Neil Ni
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=/international.aspx.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top