Export (0) Print
Expand All

EntityConnection Properties

The EntityConnection type exposes the following members.

  Name Description
Public property ConnectionString Gets or sets the EntityConnection connection string. (Overrides DbConnection.ConnectionString.)
Public property ConnectionTimeout Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error. (Overrides DbConnection.ConnectionTimeout.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Database Gets the name of the current database, or the database that will be used after a connection is opened. (Overrides DbConnection.Database.)
Public property DataSource Gets the name or network address of the data source to connect to. (Overrides DbConnection.DataSource.)
Public property ServerVersion Gets a string that contains the version of the data source to which the client is connected. (Overrides DbConnection.ServerVersion.)
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property State Gets the ConnectionState property of the underlying provider if the EntityConnection is open. Otherwise, returns Closed. (Overrides DbConnection.State.)
Public property StoreConnection Provides access to the underlying data source connection that is used by the EntityConnection object.
Top
Show:
© 2014 Microsoft