5 instantiations of EntityCommand
System.Data.Entity (5)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
264
return new
EntityCommand
(this);
System\Data\EntityClient\EntityConnection.cs (1)
636
return new
EntityCommand
(null, this);
System\Data\EntityClient\EntityProviderFactory.cs (1)
44
return new
EntityCommand
();
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
167
EntityCommand entityCommand = new
EntityCommand
((EntityConnection)context.Connection, commandDefinition);
System\Data\Objects\ObjectContext.cs (1)
2659
EntityCommand entityCommand = new
EntityCommand
();
27 references to EntityCommand
System.Data.Entity (21)
System\Data\Common\QueryCache\EntityClientCacheKey.cs (2)
55
internal EntityClientCacheKey(
EntityCommand
entityCommand)
155
private static string GetParametersToken(
EntityCommand
entityCommand)
System\Data\Common\Utils\CommandHelper.cs (3)
75
internal static EntityTransaction GetEntityTransaction(
EntityCommand
entityCommand)
100
internal static void SetStoreProviderCommandState(
EntityCommand
entityCommand, EntityTransaction entityTransaction, DbCommand storeProviderCommand)
120
internal static void SetEntityParameterValues(
EntityCommand
entityCommand, DbCommand storeProviderCommand, EntityConnection connection)
System\Data\EntityClient\EntityCommandDefinition.cs (2)
369
internal DbDataReader Execute(
EntityCommand
entityCommand, CommandBehavior behavior) {
414
internal DbDataReader ExecuteStoreCommands(
EntityCommand
entityCommand, CommandBehavior behavior)
System\Data\EntityClient\EntityConnection.cs (1)
634
public new
EntityCommand
CreateCommand()
System\Data\EntityClient\EntityDataReader.cs (2)
26
private
EntityCommand
_command;
40
internal EntityDataReader(
EntityCommand
command, DbDataReader storeDataReader, CommandBehavior behavior)
System\Data\EntityClient\EntityProviderServices.cs (1)
75
return ((
EntityCommand
)prototype).GetCommandDefinition();
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
167
EntityCommand
entityCommand = new EntityCommand((EntityConnection)context.Connection, commandDefinition);
System\Data\Objects\NextResultGenerator.cs (2)
22
EntityCommand
_entityCommand;
29
internal NextResultGenerator(ObjectContext context,
EntityCommand
entityCommand, EdmType[] edmTypes, ReadOnlyMetadataCollection<EntitySet> entitySets, MergeOption mergeOption, int resultSetIndex)
System\Data\Objects\ObjectContext.cs (7)
2579
EntityCommand
entityCommand = CreateEntityCommandForFunctionImport(functionName, out functionImport, parameters);
2610
EntityCommand
entityCommand = CreateEntityCommandForFunctionImport(functionName, out functionImport, parameters);
2636
private
EntityCommand
CreateEntityCommandForFunctionImport(string functionName, out EdmFunction functionImport, params ObjectParameter[] parameters)
2659
EntityCommand
entityCommand = new EntityCommand();
2673
private ObjectResult<TElement> CreateFunctionObjectResult<TElement>(
EntityCommand
entityCommand, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
2702
internal ObjectResult<TElement> MaterializedDataRecord<TElement>(
EntityCommand
entityCommand, DbDataReader storeReader, int resultSetIndex, ReadOnlyMetadataCollection<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
2763
private void PopulateFunctionImportEntityCommandParameters(ObjectParameter[] parameters, EdmFunction functionImport,
EntityCommand
command)
System.Data.Entity.Design (6)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (5)
170
using (
EntityCommand
command = CreateFilteredCommand(_connection, sql, null, queryTypes, new List<EntityStoreSchemaFilterEntry>(filters), filterAliases))
187
internal static
EntityCommand
CreateFilteredCommand(EntityConnection connection, string sql, string orderByClause, EntityStoreSchemaFilterObjectTypes queryTypes, List<EntityStoreSchemaFilterEntry> filters, string[] filterAliases)
189
EntityCommand
command = connection.CreateCommand();
280
private static void AddFilterEntry(
EntityCommand
command, StringBuilder segment, string alias, EntityStoreSchemaFilterEntry entry)
304
private static void AddComparison(
EntityCommand
command, StringBuilder segment, string alias, string propertyName, string value)
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
26
private
EntityCommand
_command;