I need help. How fix it error? I want make first migration and i see error. Maby you know how fix it? Error: my DBConnection Models: Folder ...
I need help. How fix it error? I want make first migration and i see error. Maby you know how fix it? Error: my DBConnection Models: Folder ...
I updated my data model by removing a column from a table to another, but I hava data in this column To do that, I started by adding the new column i ...
My scenario I have a PostgreSQL database. I've created models (the Scaffold-Db command) for it using the EntityFrameworkCore "database first" approac ...
Trying to create .NET Core 3.0(generic host) app with database access and deploy it to Azure App Service. As indicated by examples in official Microso ...
I upgraded my nuget packages for entityframework core from v2.2.6 to v3.0.0 and now I get the SQLite error that says: SQLite Error 1: 'no such table: ...
It goes like this: and then I try to Update-Database it yells: Introducing FOREIGN KEY constraint 'relationship_name' on table 'InvoicePaymentP ...
Objective I want something like Modify-Migration after changing something inside the Migration.cs file. Already Tried There are some when I accide ...
I have a problem with the configuration of the one-to-many relationship in ef core 2.2. I have the following scenario (entities are different, but thi ...
I have a Xamarin mobile app that I've added some new features to, for which I also added new database tables. I also created a new migration for these ...
I have a .NET Core app that is built in Azure DevOps CI pipeline. During the CI I also generate sql scripts from EF migrations using dotnet ef migrati ...
I am using Entity Framework Core and doing migration. Since my program is purely development stage, how do I force the migration (overwrite the existi ...
I can perform EF migration successfully. My table can be created but no seed data. I tried a few methods to seed data for Entity Framework 6 but no av ...
When I run the migration, the database is creating but none of the tables are. I have no clue what I'm doing wrong as I did the same thing the other d ...
I'm using vagrant to host my DB and website, but I make changes to my project locally and push changes to the vagrant site. I can run migrate.exe to u ...
Following this documentation, I am trying to create some entities with properties of an owned type: [Owned] public class StreetAddress { public s ...
I have some changes to rescaffold my tables and create a migration named X. I try to apply X via update-migration but I have an exception about some o ...
I've created a ChessLibrary in C# and tested it on a WinForms project. Now, I'm trying to make a website using ASP.NET MVC, EF code-first to consume ...
I'm using EF Core 2.2 as ORM in my C# project, I have 8 migrations and I'm wondering if I can rollback not just the last one but more than one in a si ...
My .Net Core version is 3.0.100-preview6-012264. You can ask me why I use the preview version. The main reason is useful work with GRPC (scaffolding f ...
I have 2 projetcs PRJ1 and PRJ2 which uses their own databases DB1 and DB2. Each of these databases uses EF Code First Migration. The PRJ1 is for ...