public IEnumerable <TResult> Execute( IDatabase database, IDictionary <string, object> parameters, Transaction transaction) { // Verify parameters this.VerifyParameters(parameters); // A shared stored procedure creates the query everytime the Execute method was // called TableQuery <TResult> query = new TableQuery <TResult>(database, this.expression); return(query.Execute(parameters, transaction)); }
private IEnumerable <CustomerEntity> GetCustomerEntities(CloudTable table) { TableQuery <CustomerEntity> query = table.CreateQuery <CustomerEntity>(); return(query.Execute()); }