EntityCommand Class
Class representing a command for the conceptual layer
Assembly: EntityFramework (in EntityFramework.dll)
System.MarshalByRefObject
System.ComponentModel.Component
System.Data.Common.DbCommand
System.Data.Entity.Core.EntityClient.EntityCommand
Name | Description | |
---|---|---|
![]() | EntityCommand() | Initializes a new instance of the EntityCommand class using the specified values. |
![]() | EntityCommand(String) | Initializes a new instance of the EntityCommand class with the specified statement. |
![]() | EntityCommand(String, EntityConnection) | Initializes a new instance of the EntityCommand class with the specified statement and connection. |
![]() | EntityCommand(String, EntityConnection, EntityTransaction) | Initializes a new instance of the EntityCommand class with the specified statement, connection and transaction. |
![]() | EntityCommand(String, EntityConnection, IDbDependencyResolver) | Constructs the EntityCommand object with the given eSQL statement and the connection object to use |
Name | Description | |
---|---|---|
![]() | CanRaiseEvents | (Inherited from Component.) |
![]() | CommandText | Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute.(Overrides DbCommand.CommandText.) |
![]() | CommandTimeout | Gets or sets the amount of time to wait before timing out.(Overrides DbCommand.CommandTimeout.) |
![]() | CommandTree | Gets or sets the command tree to execute; only one of the command tree or the command text can be set, not both. |
![]() | CommandType | Gets or sets a value that indicates how the CommandText property is to be interpreted.(Overrides DbCommand.CommandType.) |
![]() | Connection | Gets or sets the EntityConnection used by the EntityCommand . |
![]() | Container | (Inherited from Component.) |
![]() | DbConnection | The connection object used for executing the command(Overrides DbCommand.DbConnection.) |
![]() | DbParameterCollection | The collection of parameters for this command(Overrides DbCommand.DbParameterCollection.) |
![]() | DbTransaction | The transaction that this command executes in(Overrides DbCommand.DbTransaction.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | DesignTimeVisible | Gets or sets a value that indicates whether the command object should be visible in a Windows Form Designer control.(Overrides DbCommand.DesignTimeVisible.) |
![]() | EnablePlanCaching | Gets or sets a value that indicates whether the query plan caching is enabled. |
![]() | Events | (Inherited from Component.) |
![]() | Parameters | Gets the parameters of the Entity SQL statement or stored procedure. |
![]() | Site | (Inherited from Component.) |
![]() | Transaction | Gets or sets the transaction within which the SqlCommand executes. |
![]() | UpdatedRowSource | Gets or sets how command results are applied to rows being updated.(Overrides DbCommand.UpdatedRowSource.) |
Name | Description | |
---|---|---|
![]() | Cancel() | Cancels the execution of an EntityCommand.(Overrides DbCommand.Cancel().) |
![]() | CreateDbParameter() | Create and return a new parameter object representing a parameter in the eSQL statement(Overrides DbCommand.CreateDbParameter().) |
![]() | CreateObjRef(Type) | (Inherited from MarshalByRefObject.) |
![]() | CreateParameter() | Creates a new instance of an EntityParameter object. |
![]() | Dispose() | (Inherited from Component.) |
![]() | Dispose(Boolean) | (Inherited from Component.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteDbDataReader(CommandBehavior) | Executes the command and returns a data reader for reading the results(Overrides DbCommand.ExecuteDbDataReader(CommandBehavior).) |
![]() | ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken) | Asynchronously executes the command and returns a data reader for reading the results(Overrides DbCommand.ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken).) |
![]() | ExecuteNonQuery() | Executes the current command.(Overrides DbCommand.ExecuteNonQuery().) |
![]() | ExecuteNonQueryAsync() | (Inherited from DbCommand.) |
![]() | ExecuteNonQueryAsync(CancellationToken) | Asynchronously executes the command and discard any results returned from the command(Overrides DbCommand.ExecuteNonQueryAsync(CancellationToken).) |
![]() | ExecuteReader() | Executes the command and returns a data reader. |
![]() | ExecuteReader(CommandBehavior) | Compiles the CommandText into a command tree and passes it to the underlying store provider for execution, then builds an EntityDataReader out of the produced result set using the specified CommandBehavior . |
![]() | ExecuteReaderAsync() | Asynchronously executes the command and returns a data reader for reading the results. May only be called on CommandType.CommandText (otherwise, use the standard Execute* methods) |
![]() | ExecuteReaderAsync(CancellationToken) | Asynchronously executes the command and returns a data reader for reading the results. May only be called on CommandType.CommandText (otherwise, use the standard Execute* methods) |
![]() | ExecuteReaderAsync(CommandBehavior) | Asynchronously executes the command and returns a data reader for reading the results. May only be called on CommandType.CommandText (otherwise, use the standard Execute* methods) |
![]() | ExecuteReaderAsync(CommandBehavior, CancellationToken) | Asynchronously executes the command and returns a data reader for reading the results. May only be called on CommandType.CommandText (otherwise, use the standard Execute* methods) |
![]() | ExecuteScalar() | Executes the command, and returns the first column of the first row in the result set. Additional columns or rows are ignored.(Overrides DbCommand.ExecuteScalar().) |
![]() | ExecuteScalarAsync() | (Inherited from DbCommand.) |
![]() | ExecuteScalarAsync(CancellationToken) | (Inherited from DbCommand.) |
![]() | Finalize() | (Inherited from Component.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetService(Type) | (Inherited from Component.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() | Prepare() | Compiles the entity-level command and creates a prepared version of the command.(Overrides DbCommand.Prepare().) |
![]() | ToString() | (Inherited from Component.) |
![]() | ToTraceString() | Compiles the entity-level command and returns the store command text. |
Name | Description | |
---|---|---|
![]() ![]() | IDbCommand.CreateParameter() | (Inherited from DbCommand.) |
![]() ![]() | IDbCommand.ExecuteReader() | (Inherited from DbCommand.) |
![]() ![]() | IDbCommand.ExecuteReader(CommandBehavior) | (Inherited from DbCommand.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.