6 references to WithMigrationsProject
Aspire.Hosting.EntityFrameworkCore (3)
EFMigrationResourceBuilderExtensions.cs (3)
149
/// migrations project (configured via <see cref="
WithMigrationsProject
(IResourceBuilder{EFMigrationResource}, string)"/>
282
string projectPath => builder.
WithMigrationsProject
(projectPath),
283
IResourceBuilder<ProjectResource> projectBuilder => builder.
WithMigrationsProject
(projectBuilder.Resource.GetProjectMetadata().ProjectPath),
Aspire.Hosting.EntityFrameworkCore.Tests (3)
EFMigrationConfigurationTests.cs (3)
174
.
WithMigrationsProject
("path/to/Target.csproj");
188
Assert.Throws<ArgumentNullException>(() => migrations.
WithMigrationsProject
(null!));
198
Assert.Throws<ArgumentException>(() => migrations.
WithMigrationsProject
(""));