public async Task <IEnumerable <ProcedureExecution> > GetAllByRNPAsync(string projectName, string revisionNumber, string procedureName) { var tableStore = TableStorageHelper.GetProcedureExecutionTableStore(TableStorageConfig.ConnectionString, projectName); IEnumerable <ProcedureExecution> procedureExecutions = await tableStore.GetByPartitionKeyAsync(revisionNumber); procedureExecutions = procedureExecutions.Where(pe => pe.ProcedureShortName == procedureName); return(procedureExecutions); }
public Task InsertOrReplaceAsync(string projectName, ProcedureExecution procedureExecution) { var tableStore = TableStorageHelper.GetProcedureExecutionTableStore(TableStorageConfig.ConnectionString, projectName); return(tableStore.InsertOrReplaceAsync(procedureExecution)); }