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