Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "aaron"

Yes, you can override SaveChanges().

Are you using EF Core? If yes, then the main difference is:

var pendingEntities = ChangeTracker.Entries()
    .Where(e => e.State == EntityState.Added || e.State == EntityState.Modified)
    .ToList();

You can try that and let us know what errors you get.

Add: using System.Linq.Dynamic.Core;

Why would you remove GetAll(), when you know it works and it's the correct way?

No. You can see the source code: EfCoreRepositoryBaseOfTEntityAndTPrimaryKey.cs#L101-L104

You can replace it with your own repository base by adding AutoRepositoryTypes attribute to your DbContext as shown in the documentation.

There is no problem.

GetAll() simply returns Table.AsQueryable();

Can you show the error in Logs.txt?

Did you do ng build --prod?

From the ASP.NET Core documentation's Application Services as Controllers section:

You can use any ASP.NET Core attributes to change the HTTP methods or routes of the actions. This requires you to add a reference to the Microsoft.AspNetCore.Mvc.Core package.

[HttpPost("api/services/app/Test")]
public async Task CreateTest(TestDetailsDto input)
Showing 1041 to 1050 of 1543 entries