11 writes to Success
Aspire.Hosting.EntityFrameworkCore (11)
EFCoreOperationExecutor.cs (11)
89? new EFOperationResult { Success = true } 90: new EFOperationResult { Success = false, ErrorMessage = "Could not determine project path." }; 127return new EFOperationResult { Success = false, ErrorMessage = "Could not determine startup project path." }; 134return new EFOperationResult { Success = false, ErrorMessage = "Could not determine target project path." }; 155return new EFOperationResult { Success = true }; 326Success = false, 373Success = false, 378return new EFOperationResult { Success = true, Output = !string.IsNullOrEmpty(data) ? data : "[]" }; 388return new EFOperationResult { Success = false, ErrorMessage = $"dotnet-ef command failed: {ex.Message}" }; 694Success = true, 768return new EFOperationResult { Success = true, Output = summary.ToString() };
18 references to Success
Aspire.Hosting.EntityFrameworkCore (9)
EFCoreOperationExecutor.cs (4)
215if (!initResult.Success) 631if (!dropResult.Success) 686if (!result.Success) 754if (!pendingChangesResult.Success)
EFResourceBuilderExtensions.cs (5)
467if (result.Success) 895if (result.Success) 1003if (result.Success) 1045if (result.Success) 1087if (result.Success)
Aspire.Hosting.EntityFrameworkCore.Tests (9)
EFBuildCustomizationWarningTests.cs (4)
90Assert.True(result.Success, result.ErrorMessage); 133Assert.False(result.Success); 168Assert.True(result.Success, result.ErrorMessage); 193Assert.True((await executor.ResetDatabaseAsync()).Success);
EFBuildReadinessTests.cs (3)
191Assert.True((await operation).Success); 210Assert.True((await executor.UpdateDatabaseAsync()).Success); 218Assert.True((await nextOperation).Success);
EFCoreOperationExecutorTests.cs (2)
155Assert.False(result.Success); 176Assert.False(result.Success);