Detached-Mapper
MockQueryable
Our great sponsors
Detached-Mapper | MockQueryable | |
---|---|---|
1 | 5 | |
126 | 701 | |
- | - | |
8.6 | 5.3 | |
3 months ago | about 2 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Detached-Mapper
-
How do you add complex objects in EF Core - A new object containing a collection of new and existing items.
You can configure this mapper to do it for you: https://github.com/leonardoporro/Detached-Mapper
MockQueryable
- Creating a new DbContext in tests is slow
- Mock JSON Database .NET Core + GraphQL Help
-
Should you use the Repository Pattern? With CQRS, Yes and No!
The repository proponents are mostly trying to reduce the interface you need to mock in order to test your business logic, especially with unit testing, not integration testing. If you're just depending on the db context, (and you're mocking with the really awesome MockQueryable library) the tester needs to know exactly which parts of the db context are being used. This is not how unit testing should work. When writing unit tests, you shouldn't have to know that much about the internal behaviour of the thing you are trying to mock.
- How can I mock a lambda where expression?
What are some alternatives?
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Entity Framework 6 - This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/dotnet/efcore.
Pomelo.EntityFrameworkCore.MySql - Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
TimeZoneMapper - Library for mapping *N*X TimeZone ID's (e.g. Europe/Amsterdam) to .Net's TimeZoneInfo classes.
App.Metrics - App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
EFCore.BulkExtensions - Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite
Audit.NET - An extensible framework to audit executing operations in .NET and .NET Core.
EntityFramework-Plus - Entity Framework Plus extends your DbContext with must-haves features: Include Filter, Auditing, Caching, Query Future, Batch Delete, Batch Update, and more
NSubstituteVsMoq - Moq vs NSubstitute comparison
dotnet-api-minimal - Minimal API example in .NET 6
WireMock.Net - WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.