Export (0) Print
Expand All

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.

  NameDescription
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.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft