I have the following code, where I receive an incomplete entity from the frontend, make changes and update it. Afterwards, I retrieve the same entity, ...
I have the following code, where I receive an incomplete entity from the frontend, make changes and update it. Afterwards, I retrieve the same entity, ...
I am using .net5.0 EF I have a class AppUser and extend it to IdentityUser I am using command to generate EF migrations dotnet ef migrations add " ...
I am pretty new to EF Core, so if this question seems obvious, go easy on me :) As the title mentions, I would like a way to simplify queries in EF c ...
I have 2 classes In EF Core Table-per-hierarchy when I add values to properties StartDate and EndDate in ComponentOffering model and save it to d ...
My entity for storing address looks like below and referring to multiple tables as foreign key like country continent etc Trying to fetch the count ...
I have code snippet below for grouping records for last 12 months and it works properly but I just noticed that empty months is not included. Where di ...
I am doing a demo project in asp.net MVC with entityframework 5.0. I created a custom user class that inherits IdentityUser, and replaced it in the w ...
I have a View in my project and I would like to retrieve all data from a table whose Ids is in the View. Below the script to create a very simplified ...
I've been working on improving performance for our .NET core API with EF 5.0.11 by reducing the projection of our queries, but I'm currently stuck wit ...
Recently I was enhancing my knowledge with EF and to stay up to date I just went for the hole path on Pluralsight. Whith that in mind I checked out a ...
I have a call: I have tried the statement in Oracle SQL Developer, and it works. However, when I try to run it via ExecuteSqlRaw(), Oracle complain ...
I'm new to the ASP.NET 5 MVC with Entity Framework. This is probably a simple problem, but I can't find a tutorial for this online, or I don't know ho ...
I've a problem with my UOW pattern implementation ( my UOW uses Repository Pattern ). Im gonna try to explain my project structure with two simple cal ...
Upgraded our application from .Net Core 3.1 to 5.0.6, and everything was working using an existing database. If I drop the database and run the migrat ...
I am giving our legacy .NET 4 Framework libraries a new entry via .NET Core WebAPIs. Unfortunately, I am stuck at an issue at runtime (while loading d ...
How do I create an order-by expression that involves multiple fields? This isn't the correct syntax: ...
Using entity Framework 5 (5.0.4) and a local SQL Server, why does the following code not create a row in the database? Note that the connection strin ...
I'm a newbie that just recently started using EF Core 5 for a project and am encountering an issue with the following query: My goal is to remove a ...
I'm experimenting with adding a Razor page that will display Employees in all stores that belong under the same companies subgroup identifier. If I ha ...
I have this query filter on tenant: When I login into a desktop app as a different user static variable SindikatDataSetBase.TenantId changes, but t ...