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