- 增加 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,11 +1,10 @@
#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 FreeSqlRepositoryDependencyInjection
{
@ -41,5 +40,4 @@ namespace FreeSql
}
}
}
#endif

View File

@ -3,7 +3,7 @@ using System;
using System.Linq;
using System.Linq.Expressions;
public static class FreeSqlRepositoryExtensions
partial class FreeSqlDbContextExtensions
{
/// <summary>