4 instantiations of EntityConnection
System.Data.Entity (2)
System\Data\EntityClient\EntityProviderFactory.cs (1)
63
return new
EntityConnection
();
System\Data\Objects\ObjectContext.cs (1)
1662
EntityConnection connection = new
EntityConnection
(connectionString);
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
325
return new
EntityConnection
(workspace, providerConnection);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
623
_entityConnection = new
EntityConnection
(metadataWorkspace, dbConnection);
60 references to EntityConnection
System.Data.Entity (41)
System\Data\Common\Utils\CommandHelper.cs (3)
106
storeProviderCommand.Connection = ((
EntityConnection
)entityCommand.Connection).StoreConnection;
120
internal static void SetEntityParameterValues(EntityCommand entityCommand, DbCommand storeProviderCommand,
EntityConnection
connection)
149
private static object GetSpatialValueFromProviderValue(object spatialValue, PrimitiveType parameterType,
EntityConnection
connection)
System\Data\EntityClient\EntityAdapter.cs (3)
23
private
EntityConnection
_connection;
44
this.Connection = (
EntityConnection
)value;
51
public
EntityConnection
Connection
System\Data\EntityClient\EntityCommand.cs (6)
35
private
EntityConnection
_connection;
85
public EntityCommand(string statement,
EntityConnection
connection)
98
public EntityCommand(string statement,
EntityConnection
connection, EntityTransaction transaction)
136
internal EntityCommand(
EntityConnection
connection, EntityCommandDefinition entityCommandDefinition )
145
public new
EntityConnection
Connection
178
this.Connection = (
EntityConnection
)value;
System\Data\EntityClient\EntityConnection.cs (4)
863
if (setting == null || setting.ProviderName !=
EntityConnection
.s_entityClientProviderName)
1078
keyString.Append(
EntityConnection
.s_semicolonSeparator);
1093
keyString.Append(
EntityConnection
.s_metadataPathSeparator);
1106
keyString.Append(
EntityConnection
.s_semicolonSeparator);
System\Data\EntityClient\EntityProviderServices.cs (2)
81
if (connection.GetType() != typeof(
EntityConnection
))
83
throw EntityUtil.Argument(System.Data.Entity.Strings.Mapping_Provider_WrongConnectionType(typeof(
EntityConnection
)));
System\Data\EntityClient\EntityTransaction.cs (3)
24
private
EntityConnection
_connection;
32
internal EntityTransaction(
EntityConnection
connection, DbTransaction storeTransaction)
44
public new
EntityConnection
Connection
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
97
internal override long Execute(UpdateTranslator translator,
EntityConnection
connection, Dictionary<int, object> identifierValues, List<KeyValuePair<PropagatorResult, object>> generatedValues)
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
209
internal override long Execute(UpdateTranslator translator,
EntityConnection
connection, Dictionary<int, object> identifierValues,
System\Data\Mapping\Update\Internal\UpdateCommand.cs (1)
190
internal abstract long Execute(UpdateTranslator translator,
EntityConnection
connection, Dictionary<int, object> identifierValues,
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (4)
47
private UpdateTranslator(IEntityStateManager stateManager, MetadataWorkspace metadataWorkspace,
EntityConnection
connection, int? commandTimeout)
106
private readonly
EntityConnection
m_connection;
376
EntityConnection
connection = (
EntityConnection
)adapter.Connection;
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
167
EntityCommand entityCommand = new EntityCommand((
EntityConnection
)context.Connection, commandDefinition);
System\Data\Objects\ObjectContext.cs (12)
139
private
EntityConnection
_connection;
169
public ObjectContext(
EntityConnection
connection)
221
protected ObjectContext(
EntityConnection
connection, string defaultContainerName)
231
private ObjectContext(
EntityConnection
connection, bool isConnectionConstructor)
1657
private static
EntityConnection
CreateEntityConnection(string connectionString)
1662
EntityConnection
connection = new EntityConnection(connectionString);
2346
EntityConnection
connection = (
EntityConnection
)Connection;
2656
EntityConnection
connection = (
EntityConnection
)this.Connection;
3304
var
entityConnection = (
EntityConnection
)this.Connection;
System.Data.Entity.Design (11)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
283
public static
EntityConnection
CreateStoreSchemaConnection(string providerInvariantName, string connectionString)
297
public static
EntityConnection
CreateStoreSchemaConnection(string providerInvariantName, string connectionString, Version targetEntityFrameworkVersion)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (4)
26
private readonly
EntityConnection
_connection;
38
private static
EntityConnection
CreateStoreSchemaConnection(string providerInvariantName, string connectionString, out Version storeSchemaModelVersion)
163
internal
EntityConnection
EntityConnection
187
internal static EntityCommand CreateFilteredCommand(
EntityConnection
connection, string sql, string orderByClause, EntityStoreSchemaFilterObjectTypes queryTypes, List<EntityStoreSchemaFilterEntry> filters, string[] filterAliases)
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (5)
27
private
EntityConnection
_connection;
30
public static FunctionDetailsReader Create(
EntityConnection
connection, IEnumerable<EntityStoreSchemaFilterEntry> filters, Version storeSchemaModelVersion)
45
protected void InitializeReader(
EntityConnection
connection, IEnumerable<EntityStoreSchemaFilterEntry> filters)
177
public FunctionDetailsReaderV1(
EntityConnection
connection, IEnumerable<EntityStoreSchemaFilterEntry> filters)
343
public FunctionDetailsReaderV3(
EntityConnection
connection, IEnumerable<EntityStoreSchemaFilterEntry> filters)
System.Data.Services (3)
System\Data\Services\Caching\MetadataCache.cs (2)
126
EntityConnection
connection = dataContextInstance.Connection as
EntityConnection
;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
738
MetadataWorkspace workspace = ((
EntityConnection
)this.ObjectContext.Connection).GetMetadataWorkspace();
System.Web.Entity (4)
System\Data\WebControls\EntityDataSource.cs (3)
100
private readonly System.Data.EntityClient.
EntityConnection
_connection;
112
public EntityDataSource(System.Data.EntityClient.
EntityConnection
connection)
212
internal System.Data.EntityClient.
EntityConnection
Connection
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (1)
66
MetadataWorkspace csWorkspace = ((
EntityConnection
)context.Connection).GetMetadataWorkspace();
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
64
private
EntityConnection
_entityConnection;