11 writes to Success
Aspire.Hosting.EntityFrameworkCore (11)
EFCoreOperationExecutor.cs (11)
88? new EFOperationResult { Success = true } 89: new EFOperationResult { Success = false, ErrorMessage = "Could not determine project path." }; 126return new EFOperationResult { Success = false, ErrorMessage = "Could not determine startup project path." }; 133return new EFOperationResult { Success = false, ErrorMessage = "Could not determine target project path." }; 154return new EFOperationResult { Success = true }; 325Success = false, 372Success = false, 377return new EFOperationResult { Success = true, Output = !string.IsNullOrEmpty(data) ? data : "[]" }; 387return new EFOperationResult { Success = false, ErrorMessage = $"dotnet-ef command failed: {ex.Message}" }; 693Success = true, 767return new EFOperationResult { Success = true, Output = summary.ToString() };
18 references to Success
Aspire.Hosting.EntityFrameworkCore (9)
EFCoreOperationExecutor.cs (4)
214if (!initResult.Success) 630if (!dropResult.Success) 685if (!result.Success) 753if (!pendingChangesResult.Success)
EFResourceBuilderExtensions.cs (5)
474if (result.Success) 902if (result.Success) 1010if (result.Success) 1052if (result.Success) 1094if (result.Success)
Aspire.Hosting.EntityFrameworkCore.Tests (9)
EFBuildCustomizationWarningTests.cs (4)
79Assert.True(result.Success, result.ErrorMessage); 122Assert.False(result.Success); 157Assert.True(result.Success, result.ErrorMessage); 182Assert.True((await executor.ResetDatabaseAsync()).Success);
EFBuildReadinessTests.cs (3)
186Assert.True((await operation).Success); 205Assert.True((await executor.UpdateDatabaseAsync()).Success); 213Assert.True((await nextOperation).Success);
EFCoreOperationExecutorTests.cs (2)
152Assert.False(result.Success); 173Assert.False(result.Success);