C# Class System.Data.SqlClient.SqlConnection.SqlConnection

Inheritance: System.ComponentModel.Component, IDbConnection, ICloneable
ファイルを表示 Open project: kumpera/mono

Private Properties

Property Type Description
ChangeState void
ConvertIntegratedSecurity bool
ConvertToBoolean bool
ConvertToInt32 int
CreateSqlInfoMessageEvent System.Data.SqlClient.SqlInfoMessageEventArgs
CreateStateChangeEvent System.Data.StateChangeEventArgs
DiscoverTcpPortViaSqlMonitor int
EnlistDistributedTransaction void
ErrorHandler void
ICloneable object
IDbConnection IDbCommand
IDbConnection IDbTransaction
IDbConnection IDbTransaction
IsValidDatabaseName bool
MessageHandler void
OnSqlInfoMessage void
OnStateChange void
ParseDataSource bool
SetConnectionString void
SetDefaultConnectionParameters void
SetProperties void

Public Methods

Method Description
BeginTransaction ( ) : SqlTransaction
BeginTransaction ( IsolationLevel iso ) : SqlTransaction
BeginTransaction ( IsolationLevel iso, string transactionName ) : SqlTransaction
BeginTransaction ( string transactionName ) : SqlTransaction
ChangeDatabase ( string database ) : void
ChangePassword ( string connectionString, string newPassword ) : void
ClearAllPools ( ) : void
ClearPool ( SqlConnection connection ) : void
Close ( ) : void
CreateCommand ( ) : SqlCommand
GetSchema ( ) : DataTable
GetSchema ( String collectionName ) : DataTable
GetSchema ( String collectionName, string restrictionValues ) : DataTable
Open ( ) : void
SqlConnection ( ) : Mono.Data.Tds
SqlConnection ( string connectionString ) : Mono.Data.Tds

Protected Methods

Method Description
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Private Methods

Method Description
ChangeState ( ConnectionState currentState ) : void
ConvertIntegratedSecurity ( string value ) : bool
ConvertToBoolean ( string key, string value, bool defaultValue ) : bool
ConvertToInt32 ( string key, string value, int defaultValue ) : int
CreateSqlInfoMessageEvent ( Mono.Data.Tds.Protocol.TdsInternalErrorCollection errors ) : System.Data.SqlClient.SqlInfoMessageEventArgs
CreateStateChangeEvent ( ConnectionState originalState, ConnectionState currentState ) : StateChangeEventArgs
DiscoverTcpPortViaSqlMonitor ( string ServerName, string InstanceName ) : int
EnlistDistributedTransaction ( ITransaction transaction ) : void
ErrorHandler ( object sender, Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs e ) : void
ICloneable ( ) : object
IDbConnection ( ) : IDbCommand
IDbConnection ( ) : IDbTransaction
IDbConnection ( IsolationLevel iso ) : IDbTransaction
IsValidDatabaseName ( string database ) : bool
MessageHandler ( object sender, Mono.Data.Tds.Protocol.TdsInternalInfoMessageEventArgs e ) : void
OnSqlInfoMessage ( System.Data.SqlClient.SqlInfoMessageEventArgs value ) : void
OnStateChange ( StateChangeEventArgs value ) : void
ParseDataSource ( string theDataSource, int &thePort, string &theServerName ) : bool
SetConnectionString ( string connectionString ) : void
SetDefaultConnectionParameters ( ) : void
SetProperties ( string name, string value ) : void

Method Details

BeginDbTransaction() protected method

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
return System.Data.Common.DbTransaction

BeginTransaction() public method

public BeginTransaction ( ) : SqlTransaction
return SqlTransaction

BeginTransaction() public method

public BeginTransaction ( IsolationLevel iso ) : SqlTransaction
iso IsolationLevel
return SqlTransaction

BeginTransaction() public method

public BeginTransaction ( IsolationLevel iso, string transactionName ) : SqlTransaction
iso IsolationLevel
transactionName string
return SqlTransaction

BeginTransaction() public method

public BeginTransaction ( string transactionName ) : SqlTransaction
transactionName string
return SqlTransaction

ChangeDatabase() public method

public ChangeDatabase ( string database ) : void
database string
return void

ChangePassword() public static method

public static ChangePassword ( string connectionString, string newPassword ) : void
connectionString string
newPassword string
return void

ClearAllPools() public static method

public static ClearAllPools ( ) : void
return void

ClearPool() public static method

public static ClearPool ( SqlConnection connection ) : void
connection SqlConnection
return void

Close() public method

public Close ( ) : void
return void

CreateCommand() public method

public CreateCommand ( ) : SqlCommand
return SqlCommand

CreateDbCommand() protected method

protected CreateDbCommand ( ) : DbCommand
return System.Data.Common.DbCommand

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetSchema() public method

public GetSchema ( ) : DataTable
return System.Data.DataTable

GetSchema() public method

public GetSchema ( String collectionName ) : DataTable
collectionName String
return System.Data.DataTable

GetSchema() public method

public GetSchema ( String collectionName, string restrictionValues ) : DataTable
collectionName String
restrictionValues string
return System.Data.DataTable

Open() public method

public Open ( ) : void
return void

SqlConnection() public method

public SqlConnection ( ) : Mono.Data.Tds
return Mono.Data.Tds

SqlConnection() public method

public SqlConnection ( string connectionString ) : Mono.Data.Tds
connectionString string
return Mono.Data.Tds