IDataEnvironment Members
Collapse the table of content
Expand the table of content

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 IDataEnvironment type exposes the following members.

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.

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

Community Additions

© 2015 Microsoft