瀏覽代碼

fixed entityframework rename table name prefix bug. #84

master
Savorboard 6 年之前
父節點
當前提交
7ec498063a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/DotNetCore.CAP.MySql/CAP.Options.Extensions.cs

+ 1
- 1
src/DotNetCore.CAP.MySql/CAP.Options.Extensions.cs 查看文件

@@ -25,7 +25,7 @@ namespace Microsoft.Extensions.DependencyInjection
public static CapOptions UseEntityFramework<TContext>(this CapOptions options)
where TContext : DbContext
{
return options.UseEntityFramework<TContext>(opt => { opt.DbContextType = typeof(TContext); });
return options.UseEntityFramework<TContext>(opt => { });
}

public static CapOptions UseEntityFramework<TContext>(this CapOptions options, Action<EFOptions> configure)


Loading…
取消
儲存