2 writes to _entityConnection
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (2)
623
_entityConnection
= new EntityConnection(metadataWorkspace, dbConnection);
651
_entityConnection
= null;
8 references to _entityConnection
System.Web.Entity.Design (8)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (8)
390
if (!_interactiveMode &&
_entityConnection
== null)
396
if (
_entityConnection
!= null)
402
_entityConnection
.GetMetadataWorkspace().TryGetItemCollection(DataSpace.CSpace, out itemCollection);
1111
if (
_entityConnection
== null)
1126
Debug.Assert(
_entityConnection
!= null, "_entityConnection should have been initialized");
1132
EntityDataSource entityDataSource = new EntityDataSource(
_entityConnection
);
1140
DbProviderServices.GetProviderServices(
_entityConnection
.StoreConnection).GetProviderManifestToken(
_entityConnection
.StoreConnection);