Skip to content

Conversation

@alistairmatthews
Copy link
Contributor

@alistairmatthews alistairmatthews commented Sep 30, 2025

Summary

Updates the Seed data in a database using .NET Aspire article to discuss the new EF Core 9 data seeding methods.

Fixes #4892, #2574


Internal previews

📄 File 🔗 Preview link
docs/database/seed-database-data.md Seed data in a database using .NET Aspire

@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 14:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Aspire database seeding documentation to include the new EF Core 9.0 seeding methods. The changes add comprehensive guidance on using the modern UseSeeding and UseAsyncSeeding methods while also enhancing the existing manual seeding examples.

  • Adds documentation for EF Core 9.0's UseSeeding and UseAsyncSeeding methods with complete examples
  • Includes examples for SQL Server, PostgreSQL, and MySQL implementations
  • Enhances existing manual seeding examples with actual data insertion code

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@IEvangelist IEvangelist merged commit b8939ec into dotnet:main Oct 1, 2025
7 checks passed
@alistairmatthews alistairmatthews deleted the document-new-ef-data-seeding-methods-in-aspire branch October 2, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the Seed data article to include the new EF Core 9 UseSeeding and UseAsyncSeeding methods

2 participants