Ejemplo n.º 1
0
 public CShopReload(ShopsDbContext dbContext,
                    IStringLocalizer stringLocalizer,
                    IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _dbContext       = dbContext;
     _stringLocalizer = stringLocalizer;
 }
Ejemplo n.º 2
0
        public ShopsServiceUnitTests()
        {
            var options = new DbContextOptionsBuilder <ShopsDbContext>()
                          .UseInMemoryDatabase("test_shops");
            var shopsContext = new ShopsDbContext(options.Options);

            _shopsService = new ShopsService(shopsContext);
        }
Ejemplo n.º 3
0
 public BuildingBaseInfoStore(ShopsDbContext baseDataDbContext)
 {
     Context           = baseDataDbContext;
     BuildingBaseInfos = Context.BuildingBaseInfos;
 }
 public ShopBaseInfoStore(ShopsDbContext baseDataDbContext)
 {
     Context       = baseDataDbContext;
     ShopBaseInfos = Context.ShopBaseInfos;
 }
 public BuildingFacilitiesStore(ShopsDbContext baseDataDbContext)
 {
     Context            = baseDataDbContext;
     BuildingFacilities = Context.BuildingFacilities;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="shopsDbContext">Context</param>
 public BuildingFavoriteStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
 }
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="shopsDbContext">Context</param>
 public OrganizationExpansionStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
 }
 public BuildingNoticeStore(ShopsDbContext shopsDbContext)
 {
     Context         = shopsDbContext;
     BuildingNotices = Context.BuildingNotices;
 }
Ejemplo n.º 9
0
 public ShopFacilitiesStore(ShopsDbContext shopsDbContext)
 {
     Context        = shopsDbContext;
     ShopFacilities = Context.ShopFacilities;
 }
Ejemplo n.º 10
0
 public BuildingsStore(ShopsDbContext baseDataDbContext)
 {
     Context   = baseDataDbContext;
     Buildings = Context.Buildings;
 }
Ejemplo n.º 11
0
 public FileInfoStore(ShopsDbContext shopsDbContext)
 {
     Context   = shopsDbContext;
     FileInfos = Context.FileInfos;
 }
Ejemplo n.º 12
0
 public UpdateRecordFileScopeStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
     UpdateRecordFileScopes = Context.UpdateRecordFileScopes;
 }
Ejemplo n.º 13
0
 public ShopsService(ShopsDbContext context)
 {
     _context = context;
 }
 public ShopsFileScopeStore(ShopsDbContext baseDataDbContext)
 {
     Context         = baseDataDbContext;
     ShopsFileScopes = Context.ShopsFileScopes;
 }
Ejemplo n.º 15
0
 public ShopsStore(ShopsDbContext baseDataDbContext)
 {
     Context = baseDataDbContext;
     Shops   = Context.Shops;
 }
 public UpdateRecordStore(ShopsDbContext shopsDbContext)
 {
     Context       = shopsDbContext;
     UpdateRecords = Context.UpdateRecords;
 }
Ejemplo n.º 17
0
 public BuildingFileScopeStore(ShopsDbContext shopsDbContext)
 {
     Context            = shopsDbContext;
     BuildingFileScopes = Context.BuildingFileScopes;
 }
 public BuildingRuleStore(ShopsDbContext baseDataDbContext)
 {
     Context = baseDataDbContext;
 }
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="shopsDbContext">Context</param>
 public BuildingRecommendStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
 }
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="shopsDbContext">Context</param>
 public ShopsFavoriteStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
 }
Ejemplo n.º 21
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="customerDbContext">Context</param>
 public BuildingNoStore(ShopsDbContext shopsDbContext)
 {
     Context = shopsDbContext;
 }
Ejemplo n.º 22
0
 public ShopsPlugin(
     ShopsDbContext dbContext,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _dbContext = dbContext;
 }