IDataEnvironment Members

Defines an interface to data services that enables control designers to integrate data store or database-related functionality into their design environment.

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

  Name Description
Public property Connections Gets a collection of data connections defined in the current design session.

  Name Description
Public method BuildConnection Creates a new data connection or edits an existing connection using the design tool's new connection user interface.
Public method BuildQuery Launches a dialog to build a SQL query string.
Public method ConfigureConnection Writes a connection string to the application's configuration file.
Public method GetCodeExpression Returns a code expression that contains the source code required to retrieve a connection string from the application's configuration file.
Public method GetConnectionSchema Gets the schema for the specified data connection.
Public method GetDesignTimeConnection Gets a database connection that can be used at design time.