3 instantiations of OleDbConnection
System.Data (2)
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
345
OleDbConnection clone = new
OleDbConnection
(this);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (1)
41
OleDbConnection connection = new
OleDbConnection
(selectConnectionString);
System.Workflow.Runtime (1)
Hosting\DbResourceAllocator.cs (1)
157
connection = new
OleDbConnection
(connectionStr);
94 references to OleDbConnection
System.Data (94)
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (1)
209
static internal ArgumentException NotSupportedSchemaTable(Guid schema,
OleDbConnection
connection) {
fx\src\data\System\Data\OleDb\OleDbCommand.cs (15)
38
private
OleDbConnection
_connection;
73
public OleDbCommand(string cmdText,
OleDbConnection
connection) : this() {
78
public OleDbCommand(string cmdText,
OleDbConnection
connection, OleDbTransaction transaction) : this() {
199
new public
OleDbConnection
Connection {
204
OleDbConnection
connection = _connection;
220
OleDbConnection
connection = _connection;
237
Connection = (
OleDbConnection
)value;
562
OleDbConnection
.ExecutePermission.Demand();
831
Exception e =
OleDbConnection
.ProcessResults(hr, _connection, this);
855
OleDbConnection
.ExecutePermission.Demand();
870
OleDbConnection
.ExecutePermission.Demand();
1100
OleDbConnection
.ExecutePermission.Demand();
1148
Exception e =
OleDbConnection
.ProcessResults(hr, _connection, this);
1153
Exception e =
OleDbConnection
.ProcessResults(hr, null, this);
1188
OleDbConnection
connection = _connection;
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (7)
99
OleDbConnection
.ExecutePermission.Demand();
118
OleDbConnection
connection = command.Connection;
139
static private OleDbParameter[] DeriveParametersFromStoredProcedure(
OleDbConnection
connection, OleDbCommand command) {
327
public string QuoteIdentifier( string unquotedIdentifier,
OleDbConnection
connection){
338
connection = base.GetConnection() as
OleDbConnection
;
368
public string UnquoteIdentifier(string quotedIdentifier,
OleDbConnection
connection){
381
connection = base.GetConnection() as
OleDbConnection
;
fx\src\data\System\Data\OleDb\OleDbConnection.cs (8)
43
private OleDbConnection(
OleDbConnection
connection) : this() { // Clone
321
OleDbConnection
.ExecutePermission.Demand();
345
OleDbConnection
clone = new OleDbConnection(this);
364
OleDbConnection
.ReleaseObjectPool();
437
OleDbConnection
.ExecutePermission.Demand();
546
Exception e =
OleDbConnection
.ProcessResults(hr, null, this);
578
static internal Exception ProcessResults(OleDbHResult hresult,
OleDbConnection
connection, object src) {
644
static private void ResetState(
OleDbConnection
connection) {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (18)
38
DbConnectionInternal result = new OleDbConnectionInternal((OleDbConnectionString)options, (
OleDbConnection
)owningObject);
60
OleDbConnection
oleDbOuterConnection = oleDbInternalConnection.Connection;
118
OleDbConnection
c = (connection as
OleDbConnection
);
126
OleDbConnection
c = (connection as
OleDbConnection
);
134
OleDbConnection
c = (connection as
OleDbConnection
);
142
OleDbConnection
c = (outerConnection as
OleDbConnection
);
149
OleDbConnection
c = (outerConnection as
OleDbConnection
);
156
OleDbConnection
c = (owningObject as
OleDbConnection
);
163
OleDbConnection
c = (owningObject as
OleDbConnection
);
171
OleDbConnection
c = (owningObject as
OleDbConnection
);
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (12)
76
internal OleDbConnectionInternal(OleDbConnectionString constr,
OleDbConnection
connection) : base () {
120
OleDbConnection
.ProcessResults(hr, connection, connection);
123
Exception e =
OleDbConnection
.ProcessResults(hr, null, null);
143
internal
OleDbConnection
Connection {
145
return (
OleDbConnection
)Owner;
245
OleDbConnection
.ExecutePermission.Demand();
247
OleDbConnection
outerConnection = Connection;
308
OleDbConnection
.VerifyExecutePermission();
310
OleDbConnection
outerConnection = Connection;
318
OleDbConnection
.VerifyExecutePermission();
625
OleDbConnection
connection = Connection; // get value from weakref only once
626
Exception e =
OleDbConnection
.ProcessResults(hr, connection, connection);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (3)
179
internal int GetSqlSupport(
OleDbConnection
connection) {
192
internal bool GetSupportIRow(
OleDbConnection
connection, OleDbCommand command) {
205
internal bool GetSupportMultipleResults(
OleDbConnection
connection) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
397
using(OleDbConnectionInternal connection = new OleDbConnectionInternal(constr, (
OleDbConnection
)null)) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (4)
41
OleDbConnection
connection = new OleDbConnection(selectConnectionString);
45
public OleDbDataAdapter(string selectCommandText,
OleDbConnection
selectConnection) : this() {
167
permissionSet.AddPermission(
OleDbConnection
.ExecutePermission); // MDAC 77737
191
permissionSet.AddPermission(
OleDbConnection
.ExecutePermission); // MDAC 77737
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (8)
33
private
OleDbConnection
_connection;
83
internal OleDbDataReader(
OleDbConnection
connection, OleDbCommand command, int depth, CommandBehavior commandBehavior) {
84
OleDbConnection
.VerifyExecutePermission();
601
OleDbConnection
con = _connection;
1062
e =
OleDbConnection
.ProcessResults(hr, _connection, _command);
1065
e =
OleDbConnection
.ProcessResults(hr, _connection, _connection);
1105
static internal OleDbException NextResults(UnsafeNativeMethods.IMultipleResults imultipleResults,
OleDbConnection
connection, OleDbCommand command, out IntPtr recordsAffected) {
1132
Exception e =
OleDbConnection
.ProcessResults(hr, connection, command);
fx\src\data\System\Data\OleDb\OleDbEnumerator.cs (4)
24
OleDbConnection
.ExecutePermission.Demand();
34
OleDbConnection
.ExecutePermission.Demand();
66
Exception f =
OleDbConnection
.ProcessResults(hr, null, null);
79
OleDbConnection
.ExecutePermission.Demand();
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (5)
184
private DataTable GetDataSourceInformationTable(
OleDbConnection
connection, OleDbConnectionInternal internalConnection){
334
private DataTable GetDataTypesTable(
OleDbConnection
connection){
481
OleDbConnection
oleDbConnection = (
OleDbConnection
) connection;
615
private void SetIdentifierCase(string columnName, int propertyID, DataRow row,
OleDbConnection
connection) {
fx\src\data\System\Data\OleDb\OleDbTransaction.cs (7)
28
internal
OleDbConnection
_parentConnection;
115
internal OleDbTransaction(
OleDbConnection
connection, OleDbTransaction transaction, IsolationLevel isolevel) {
116
OleDbConnection
.VerifyExecutePermission();
138
new public
OleDbConnection
Connection { // MDAC 66655
172
OleDbConnection
.ExecutePermission.Demand(); // MDAC 81476
220
OleDbConnection
.ExecutePermission.Demand(); // MDAC 81476
289
Exception e =
OleDbConnection
.ProcessResults(hr, _parentConnection, this);
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (1)
71
Exception e =
OleDbConnection
.ProcessResults(hr, null, null);