About 4,140,000 results
Open links in new tab
  1. c# - Is unit of work pattern really needed with repository pattern ...

    Mar 19, 2020 · The Entity Framework DbContext is a unit of work, and its DbSet<T> properties are repositories. That's not to say that you should never roll your own layer on top of them, but …

  2. Repository Design Pattern in C# - Dot Net Tutorials

    The Repository Pattern is a design pattern commonly used in software development, including C# and .NET applications, to abstract and encapsulate the data access layer. It provides a …

  3. c# - What is the alternative to unit of work pattern when using …

    Apr 2, 2022 · I know dbcontext is inherently a repository and unit of work pattern. However as an abstraction suppose I implement a generic repository pattern, with unit of work pattern, then …

  4. c# - EF Core without additional repository pattern - Stack Overflow

    Jul 9, 2020 · There seems to be a certain movement advocating that when we use EF Core we should avoid creating a Repository & Unit of work pattern because EF Core already implement …

  5. Unit of Work Pattern still necessary in .NET 8? : r/dotnet - Reddit

    Nov 4, 2023 · Unit of Work is for doing transaction-like things in C#/Java instead of fully on the database side, or at least for grouping several steps of work into one place. If you're just …

  6. Repository pattern in C# without Entity Framework

    Feb 18, 2019 · You don't need to make your repository IDisposable, and to use Task you should implement your entire class with the Async programming model. I have updated your code …

  7. Using Both Generic and Non-Generic Repository Pattern in C#

    In this article, I am going to discuss How to Implement both Generic and Non-Generic Repository Patterns in ASP.NET MVC applications using Entity Framework in C#. In most Real-Time …

  8. Implementing the Repository Pattern in C# and .NET

    Jun 10, 2023 · By abstracting data persistence and retrieval, the repository pattern promotes code maintainability, testability, and scalability. In this comprehensive guide, we will explore the …

  9. Repository Pattern C# | Medium

    Jan 29, 2024 · If the number of specific repositories increases significantly, reconsider the use of the Repository/Unit of Work pattern. So why would you use the repo/pattern with EF Core?

  10. Repository Design Pattern In ASP.NET MVC - C# Corner

    Jun 13, 2024 · Repository pattern in C# separates data access, improves testability, and supports flexible architecture changes. Follow a step-by-step guide to implement Repository pattern in …

  11. Some results have been removed
Refresh