Browse Source
Merge pull request #4083 from abpframework/maliming/patch-1
Make DbContextOptionsFactory public.
pull/4127/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/DependencyInjection/DbContextOptionsFactory.cs
|
|
@ -7,7 +7,7 @@ using Volo.Abp.Data; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.EntityFrameworkCore.DependencyInjection |
|
|
namespace Volo.Abp.EntityFrameworkCore.DependencyInjection |
|
|
{ |
|
|
{ |
|
|
internal static class DbContextOptionsFactory |
|
|
public static class DbContextOptionsFactory |
|
|
{ |
|
|
{ |
|
|
public static DbContextOptions<TDbContext> Create<TDbContext>(IServiceProvider serviceProvider) |
|
|
public static DbContextOptions<TDbContext> Create<TDbContext>(IServiceProvider serviceProvider) |
|
|
where TDbContext : AbpDbContext<TDbContext> |
|
|
where TDbContext : AbpDbContext<TDbContext> |
|
|
@ -94,4 +94,4 @@ namespace Volo.Abp.EntityFrameworkCore.DependencyInjection |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|