I'm still fairly new to C#, .NET and EfCore so please bear with me and apologies if I'm missing something in the question. Let's say I have the follo ...
I'm still fairly new to C#, .NET and EfCore so please bear with me and apologies if I'm missing something in the question. Let's say I have the follo ...
I can add, but not erase any item with the collection - unable to delete. Found a few partial solutions, but nothing to guide me to a working solutio ...
I have this Database structure This is how I create the relations: I get this error: Cannot create a relationship between 'Gameboard.Colors' ...
I understand what error is saying but unable to implement solution. I need to make a call to database (just to select) inside a method which would be ...
I am a novice. Take it easy on me. this is code for my action and when check my user is in this role throw this exception {"There is already a ...
EF Core 2.1 is updating ID when I am simply Loading and Saving values in Database. Note: I am using Database first approach. Error : Cannot update i ...
I using from asp.net core 2.2 Identity for my user managment system. I need to have several types of users ... for example, warehouse user and Applica ...
I got a project and I restored that database (from a backup). When I added a new migration for some changes, I get this error: There is already an ...
Net core, Ef core and linq. I have table with column status. It holds the values New, In-Progress and closed. When I will query all the rows with New ...
Category Table ; I add new field to the table; I get the following error when updating entity; Microsoft.EntityFrameworkCore.DbUpdateException: ...
What's the best way of specifying a decimal precision without using attributes. I just need to set it in one place for all decimal's in my Data.Models ...
Instead of looking at the database column definition I would like to have a maxlength validation based on the column size in my database, is that poss ...
In asp.net using ef core linq and oracle, it is not possible to get data using where clause contains( >1000) greater than a thousand ids. Is there ...
Is there a performance difference between using a function inside a linq to sql select statement vs using an expression in EF core domain projection. ...
There are lots of classes where item is referenced as foreignkey. I need to restrict the item to delete (soft-delete) if that item is used in anothe ...
I'm wondering if there's a standard way of handling migrations when using EF Core database-first. Every time I make change to the database I run this ...
Net core and efcore db first approach. I have two tables. First table is SiteDetails and it contains Sitedetails related columns and it references oth ...
Net core and EF Core DB first approach. I have one table and It has Id which is primary key and one more countryname which is non primary key. I want ...
How to paginate in server side web api .net core 2.2+ using EF Core and Angular? Because before i was using paginated in frontend, but it is not recom ...