The methods of the SQLDataSource class are listed below. For a complete list of SQLDataSource class members, see the SQLDataSource Members topic.
Configure | Reads the XML configuration for this data source. Reads the following elements: connectionString: A connection string connectionStringConfigName: The config file variable name for the connection string timeout: The number of seconds until a data set is expired valueColumnName: The name of the value column in the query result data for the returned data set textColumnName: The name of the text column in the query result data for the returned data set query: The query string for getting data results - @template: The templated query string as an attribute to the query element - variable: The data name used to substitute a value for a reference in the query template. Uses the String.Format nomenclature for variables and are processed in order of appearance in the configuration. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetData | Returns the data for the given context. Each context can create a unique query string, which can result in unique data sets. This method will cache the results of the data set when it has to load a query. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
SQLDataSource Class | Portrate.Interview.View.Data Namespace