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