- 增加 FreeSql.DbContext OnModelCreating 虚方法,实现在 DbContext 使用 FluentApi;#4 - 移除 FreeSql.Extensions.EfCoreFluentApi,功能移至 FreeSql.DbContext;

This commit is contained in:
28810
2020-04-16 02:58:34 +08:00
parent 43e1529a83
commit 36759402cc
23 changed files with 418 additions and 575 deletions

View File

@ -1,12 +1,12 @@
#if netcoreapp
using Microsoft.Extensions.DependencyInjection;
using FreeSql;
using System;
using System.Linq;
using System.Reflection;
namespace FreeSql
namespace Microsoft.Extensions.DependencyInjection
{
public static class DbContextDependencyInjection
public static class FreeSqlDbContextDependencyInjection
{
static IServiceCollection AddFreeDbContext(this IServiceCollection services, Type dbContextType, Action<DbContextOptionsBuilder> options)
{