Exemple #1
0
 public void OneTimeSetup()
 {
     _repositoryHelper = new RepositoryHelper();
     _repositoryHelper.FillTypes.Add(EntityType.CinemaHall);
     _repositoryHelper.FillTypes.Add(EntityType.Row);
     _repositoryHelper.FillTypes.Add(EntityType.RowCategory);
     _repositoryHelper.FillTypes.Add(EntityType.Seat);
     _repositoryInfrastructure = _repositoryHelper.RepositoryFactory.CreateRepositoryInfrastructure();
 }
Exemple #2
0
 /// <summary>
 /// 构造获取上下文工厂
 /// </summary>
 public SqlQueryAbstract(IRepositoryInfrastructure _infrastructure, RepositoryOptions _unitOfWorkOptions)
 {
     infrastructure    = _infrastructure;
     unitOfWorkOptions = _unitOfWorkOptions;
 }
Exemple #3
0
 public RepositoryQueryAbstract(IRepositoryInfrastructure _infrastructure)
 {
     infrastructure = _infrastructure;
 }