using CloudGaming.Code.DataBaseModel;
using HZY.Framework.Repository.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CloudGaming.Repository.Game;
[DbContextConfig($"Repository.*.Entities.User.*")]
public class UserDbContext : BaseDbContext
{
///
///
///
public override IUnitOfWork UnitOfWork { get; }
public UserDbContext(IConfiguration configuration, IWebHostEnvironment webHostEnvironment, AppConfig appConfig) : base(configuration, webHostEnvironment, appConfig, AppDataBaseType.User)
{
UnitOfWork = new UnitOfWorkImpl(this);
}
}