2 writes to Connection
System.Data.Entity (2)
System\Data\EntityClient\EntityCommand.cs (1)
178
this.
Connection
= (EntityConnection)value;
System\Data\Objects\ObjectContext.cs (1)
2662
entityCommand.
Connection
= connection;
10 references to Connection
System.Data.Entity (10)
System\Data\Common\Utils\CommandHelper.cs (3)
82
if (entityTransaction != null && entityTransaction != entityCommand.
Connection
.CurrentTransaction)
88
entityTransaction = entityCommand.
Connection
.CurrentTransaction;
106
storeProviderCommand.Connection = ((EntityConnection)entityCommand.
Connection
).StoreConnection;
System\Data\EntityClient\EntityCommand.cs (3)
174
return this.
Connection
;
612
resultTree = new DbFunctionCommandTree(this.
Connection
.GetMetadataWorkspace(), DataSpace.CSpace, function, null, queryParams);
752
if (!_preparedCommandTree.MetadataWorkspace.IsMetadataWorkspaceCSCompatible(this.
Connection
.GetMetadataWorkspace()))
System\Data\EntityClient\EntityCommandDefinition.cs (2)
389
result = BridgeDataReader.Create(storeDataReader, columnMap, entityCommand.
Connection
.GetMetadataWorkspace(), GetNextResultColumnMaps(storeDataReader));
446
DbProviderServices storeProviderServices = DbProviderServices.GetProviderServices(entityCommand.
Connection
.StoreProviderFactory);
System\Data\EntityClient\EntityDataReader.cs (2)
172
Debug.Assert(this._command.
Connection
!= null);
173
this._command.
Connection
.Close();