Skip to main content
A newer version of this page is available. .

SqlDataSourceModel Members

Accumulates intermediate SQL data source settings during the execution of the Data Source Wizard.

Constructors

Name Description
SqlDataSourceModel() Initializes a new instance of the SqlDataSourceModel class with the default settings.
SqlDataSourceModel(SqlDataSourceModel) Initializes a new instance of the SqlDataSourceModel class with the specified prototype.

Properties

Name Description
ConnectionName Specifies the name of a data connection. Inherited from DataSourceModelWithConnectionBase.
DataConnection Specifies the connection to a SqlDataSource.
DataSchema Specifies the data source schema. Inherited from DataSourceModelBase.
Queries Provides access to the collection of SQL queries displayed in the Data Source Wizard.
Query Specifies the SqlQuery.
Relations Provides access to the collection of master-detail relationships of the SqlDataSourceModel.
ShouldSaveConnection Specifies how and where to store the connection string. Inherited from DataSourceModelWithConnectionBase.
SqlQueryText Specifies the SQL string.

Methods

Name Description
Clone() Creates a new SqlDataSourceModel instance, which is a copy of the current instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether or not the specified object is equal to the current SqlDataSourceModel instance.
GetHashCode() Gets the hash code that corresponds to the value of the current SqlDataSourceModel object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also