3 writes to _storeConnection
System.Data.Entity (3)
System\Data\EntityClient\EntityConnection.cs (3)
132
_storeConnection
= connection;
623
this.
_storeConnection
= newConnection;
815
this.
_storeConnection
= null;
32 references to _storeConnection
System.Data.Entity (32)
System\Data\EntityClient\EntityConnection.cs (32)
150
Debug.Assert(
_storeConnection
!= null);
153
if (!EntityUtil.TryGetProviderInvariantName(DbProviderFactories.GetFactory(
_storeConnection
), out invariantName))
167
FormatProviderString(
_storeConnection
.ConnectionString));
180
if (object.ReferenceEquals(_userConnectionOptions, _effectiveConnectionOptions) && this.
_storeConnection
!= null)
185
storeConnectionString = this.
_storeConnection
.ConnectionString;
238
if (this.
_storeConnection
== null)
243
return this.
_storeConnection
.ConnectionTimeout;
304
if (this.
_storeConnection
== null)
309
return this.
_storeConnection
.DataSource;
329
if (this.
_storeConnection
== null)
339
return this.
_storeConnection
.ServerVersion;
381
return this.
_storeConnection
;
453
LoadStoreItemCollections(_metadataWorkspace,
_storeConnection
, _providerFactory, _effectiveConnectionOptions, edmItemCollection, _artifactLoader);
509
if (this.
_storeConnection
== null)
518
OpenStoreConnectionIf(this.
_storeConnection
.State != ConnectionState.Open,
519
this.
_storeConnection
,
527
if (this.
_storeConnection
== null || this.
_storeConnection
.State != ConnectionState.Open)
532
InitializeMetadata(this.
_storeConnection
, this.
_storeConnection
, closeStoreConnectionOnFailure);
653
if (this.
_storeConnection
== null)
699
if (this.
_storeConnection
== null)
710
storeTransaction = this.
_storeConnection
.BeginTransaction(isolationLevel);
728
throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_ReturnedNullOnProviderMethod("BeginTransaction",
_storeConnection
.GetType().Name));
741
if (
_storeConnection
== null)
751
_storeConnection
.EnlistTransaction(transaction);
806
if (this.
_storeConnection
!= null)
809
if (this.
_storeConnection
!= null)
813
this.
_storeConnection
.Dispose();
1195
if (this.
_storeConnection
!= null && (this.
_storeConnection
.State != ConnectionState.Closed))
1197
this.
_storeConnection
.Close();