3 writes to _connection
System.Data.Entity (3)
System\Data\EntityClient\EntityCommand.cs (3)
89
this.
_connection
= connection;
139
this.
_connection
= connection;
160
this.
_connection
= value;
20 references to _connection
System.Data.Entity (20)
System\Data\EntityClient\EntityCommand.cs (20)
149
return this.
_connection
;
154
if (this.
_connection
!= value)
156
if (null != this.
_connection
)
272
if (this.
_connection
!= null && this.
_connection
.StoreProviderFactory != null)
274
DbCommand storeCommand = this.
_connection
.StoreProviderFactory.CreateCommand();
564
Debug.Assert(this.
_connection
!= null);
580
Perspective perspective = (Perspective)new ModelPerspective(
_connection
.GetMetadataWorkspace());
632
MetadataWorkspace workspace =
_connection
.GetMetadataWorkspace();
640
return CommandHelper.FindFunctionImport(
_connection
.GetMetadataWorkspace(), containerName, functionImportName);
698
Debug.Assert(null !=
_connection
, "Connection must not be null at this point");
717
QueryCacheManager queryCacheManager =
_connection
.GetMetadataWorkspace().GetQueryCacheManager();
756
EntityCommandDefinition result = EntityProviderServices.Instance.CreateCommandDefinition(this.
_connection
.StoreProviderFactory, this._preparedCommandTree);
762
if (this.
_connection
== null)
776
if (this.
_connection
.StoreProviderFactory == null || this.
_connection
.StoreConnection == null)
782
if ((this.
_connection
.State == ConnectionState.Closed) || (this.
_connection
.State == ConnectionState.Broken))
785
this.
_connection
.State == ConnectionState.Closed ?
865
CommandHelper.SetEntityParameterValues(this, _storeProviderCommand,
_connection
);