Пример #1
0
 public ShopTimeDbContext(IShopTimeToken token, string nameOrConnectionString)
     : base(nameOrConnectionString)
 {
     _token = token;
 }
Пример #2
0
 public ShopTimeDbContext(IShopTimeToken token)
     : base("ShopTimeDB")
 {
     _token = token;
 }
Пример #3
0
 public ProductService(IShopTimeToken token, ICollectionService collectionService, IDBConetxt repository)
 {
     _repository = repository;
     _token = token;
     _collectionService = collectionService;
 }
Пример #4
0
 public AuditInfo(IShopTimeToken token)
     : this()
 {
     CreatedUserId = token.UserProfile.UserId;
     UpdatedUserId = token.UserProfile.UserId;
 }
Пример #5
0
 public  CollectionService(IShopTimeToken token, IRepository<Collection> collectionRepo, IRepository<CustomField> customFieldRepo)
 {
     _collectionRepo = collectionRepo;
     _customFieldRepo = customFieldRepo;
     _token = token;
 }