21 lines
652 B
C#
21 lines
652 B
C#
using CloudGaming.Code.DataBaseModel;
|
|
|
|
namespace CloudGaming.Repository.Ext
|
|
{
|
|
/// <summary>
|
|
/// CloudGaming.Repository.GameModel
|
|
/// </summary>
|
|
[DbContextConfig($"Repository.*.Entities.*")]
|
|
public class ExtDbContext : BaseDbContext
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public IUnitOfWork UnitOfWork { get; }
|
|
public ExtDbContext(IConfiguration configuration, IWebHostEnvironment webHostEnvironment, AppConfig appConfig) : base(configuration, webHostEnvironment, appConfig, AppDataBaseType.Ext)
|
|
{
|
|
UnitOfWork = new UnitOfWorkImpl<ExtDbContext>(this);
|
|
}
|
|
}
|
|
}
|