Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataSourceAttribute Members

Provides data source-specific information for data-driven testing. This class cannot be inherited.

The following tables list the members exposed by the DataSourceAttribute type.

  Name Description
Public constructor DataSourceAttribute Overloaded. Initializes a new instance of the DataSourceAttribute class. 
Top
  Name Description
Public field Static DefaultDataAccessMethod Represents the default data access method. This field is read-only. 
Public field Static DefaultProviderName Represents the default data provider name. This field is read-only. 
Top
  Name Description
Public property ConnectionString Gets a value representing the connection string for the data source. 
Public property DataAccessMethod Gets the method used to access the data source. 
Public property DataSourceSettingName Gets a value indicating the setting name used to identify data source connection information stored in a configuration file. 
Public property ProviderInvariantName Gets a value representing the data provider of the data source. 
Public property TableName Gets a value indicating the table name providing data. 
Public property TypeId  (Inherited from Attribute.)
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttribute  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttributes  Overloaded. (Inherited from Attribute.)
Public method GetHashCode  (Inherited from Attribute.)
Public method GetType  (Inherited from Object.)
Public method IsDefaultAttribute  (Inherited from Attribute.)
Public method Static IsDefined  Overloaded. (Inherited from Attribute.)
Public method Match  (Inherited from Attribute.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Top
  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.