Cuemon .NET Framework
DataConnection Class Members
Properties  Methods 


The following tables list the members exposed by DataConnection.

Protected Constructors
 NameDescription
Protected ConstructorDataConnection ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyAddressGets or sets the server address of the connection.  
Public PropertyConfigurationElementGets or sets the cuemon data configuration section. Will use the connection settings from the specified default connection.  
Public PropertyConnectionStringGets or sets the string used to open the connection.  
Public PropertyConnectionTimeoutGets the time to wait while trying to establish a connection before terminating the attempt and generating an error. Preserved for backward compatibility.  
Public PropertyDatabaseGets or sets the database of the connection.  
Public PropertyNetworkLibraryGets or sets the network library of the connection.  
Public PropertyPasswordGets or sets the password of the connection.  
Public PropertyStateGets the current state of the connection.  
Public PropertyTimeoutGets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.  
Public PropertyUserIdGets or sets the user id of the connection.  
Top
Public Methods
 NameDescription
Public MethodBeginTransactionOverloaded. Begins a database transaction with the specified System.Data.IsolationLevel value.  
Public MethodChangeDatabaseChanges the current database for an open Connection object.  
Public MethodCloseCloses the connection to the database.  
Public MethodCreateCommandCreates and returns a Command object associated with the connection.  
Public MethodDisposeOverloaded. Releases unmanaged and - optionally - managed resources.  
Public Methodstatic (Shared in Visual Basic)GetConnectionStringOverloaded. Renders a connection string from the given Cuemon.Configuration.DataSection.  
Public MethodOpenOpens a database connection with the settings specified by the ConnectionString property of the provider-specific Connection object.  
Public MethodToStringRenders the properties of this class to a connection string (if no "manuel" connectionString has been specified). If ConfigurationElement has been set, values are derived from this object.  
Top
See Also

Reference

DataConnection Class
Cuemon.Data Namespace

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback