218 packages tagged with “DbContext”
Library that provides methods that will help you with mocking Entity Framework Core. Easily mock DbSet and DbContext for unit testing with Moq.
FreeSql is the ORM in .NetCore, .NetFramework, And Xamarin. It supports Mysql, Postgresql, SqlServer, Oracle, Sqlite, Firebird, Clickhouse, DuckDB, TDengine, QuestDB, Odbc, Oledb, 达梦, 人大金仓, 南大通用, 虚谷, 神舟通用, 翰高, And Access
Generate DGML (Graph) content that visualizes your DbContext. Adds the AsDgml() extension method to the DbContext class. Also has AsSqlScript() extension method to generate a SQL script for your current model.
数据访问组件,有用到批量插入、插入后返回值的功能需要安装具体数据库类型的包,如LJH.DO.SqlServer 1. netcore升级到3.1
DbContextScope was created out of the need for a better way to manage DbContext instances in Entity Framework-based applications.
DbContextSCope package for EF6 and EFCore. Forked from https://github.com/mehdime/DbContextScope. Compatible with .net 4.0+ (EF6) and .net Standard 1.3+ (EFCore). Credit also to https://github.com/ninety7 for code regarding refreshing parent entities.
FreeSql 全家桶,懒人专用
Package Description
System.Data.Entity Repository Extension
EntityHooks provides an extension points for EF Code First DbContext in order to hook database operations.
DbContextScope for EF v2|v3 Core. Forked from https://github.com/tncalvert/DbContextScope.
Enables reverse engineering an EF Core model from a data-tier application package (DACPAC).
EntityFramework.Toolkit is a library which provides implementations for EntityFramework best practices, patterns, utilities and extensions.
DevAccelerateCoreEF provides common classes for using Microsoft EntityFrameworkCore in DevAccelerate.
DbContextScope for EF Core. Forked from https://github.com/mehdime/DbContextScope.
With EFCore.DbContextFactory you can resolve easily your DbContext dependencies in a safe way injecting a factory instead of an instance itself, enabling you to work in multi-thread contexts with Entity Framework Core or just work safest with DbContext following the Microsoft recommendations about the DbContext lifetime.
Generic Repository DbContext Implementation
Supports EF operations.
The package is a part of Saritasa Tools project. Saritasa.Tools.EFCore5 contains various useful extensions.
DbContextScope for EF Core 5 and .Net Standard 2.1. Forked from https://github.com/mehdime/DbContextScope.
NetStandard2.0 and NetCoreApp2.2 Utilities for Crud API System - DAL Abstraction: should be referenced by project containing Entrity Framework Core DbContext
Some easy methods for Insert/Delete/Update/Query/InsertBulk/SqlBulkCopy without sql based on Dapper and pure entity class (no attributes needs). Support ReadWriteSplit (multiple read database) with default policy like WeightedRoundRobin/Random/RoundRobin, also provide interface of customize policy. This is the abstract and base method for Newcats.DataAccess.XXX projects, you can create your own package base on it, or implement the new database that is not supported yet. Check detail from github for how to use.
Entity Framework utilities
NetStandard2.0 and NetCoreApp2.2 Utilities for Crud API System - Unit Of Work Interface: should be referenced only by API project for Commit and Rollback actions.