EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Documentation for Entity Framework Core and Entity Framework 6

Results 271 EntityFramework.Docs issues
Sort by recently updated
recently updated
newest added

I'm working on a asp.net core backend that was on .net 6 and we're trying to migrate it to .net 8. We have noticed a change for which we haven't...

area-scaffolding
type-breaking-change

From the page: > When EF Core creates instances of these types, such as for the results of a query, it will first call the default parameterless constructor and then...

area-model-building

Hello everyone. I would need help regarding an issue I'm encountering during the creation of a migration. In my DbContext, I have a DbSet defined as follows: ```C# public DbSet...

area-migrations

https://github.com/pgvector/pgvector-dotnet#entity-framework-core

area-external-references

On the [What's New in EF Core 8](https://learn.microsoft.com/nl-nl/ef/core/what-is-new/ef-core-8.0/whatsnew#primitive-collections) webpage, Primitive Collections section, there are some examples on how the Primitive Collections work. In these examples the MaxLengthAttribute and HasMaxLength is...

area-model-building

In given options and the example ``--startup-project `` option is missing. So command failing. [This solution](https://stackoverflow.com/questions/56686093/unable-to-create-an-object-of-type-dbcontext/69207083#69207083) got nearly 100k view for simple required option --- #### Document Details ⚠ *Do...

For all `UpdateData` variants a link is present that says "See [Database migrations](https://aka.ms/efcore-docs-migrations) for more information and examples". However that page contains ZERO examples of using UpdateData, neither could I...

In paragraph [One-to-one without navigation to principal and with shadow foreign key](https://learn.microsoft.com/en-us/ef/core/modeling/relationships/one-to-one#one-to-one-without-navigation-to-principal-and-with-shadow-foreign-key) the two examples are the same, both snipped code are : ``` protected override void OnModelCreating(ModelBuilder modelBuilder) {...

area-relationships

There are a few things related to automatically generated shadow properties mentioned in this documentation have me confused- First, Question for this [section](https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/modeling/relationships/one-to-many.md)- 1. I don't see any nullable type...

area-relationships

I have this data model: ```csharp class Student { public string Name { get;set; } } class StudentAssignment { public Student Student { get;set; } [DatabaseGenerated(DatabaseGeneratedOption.Computed)] [Required] public string StudentName...

area-save-changes