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