コード例 #1
0
 public ShopTimeDbContext(IShopTimeToken token, string nameOrConnectionString)
     : base(nameOrConnectionString)
 {
     _token = token;
 }
コード例 #2
0
 public ShopTimeDbContext(IShopTimeToken token)
     : base("ShopTimeDB")
 {
     _token = token;
 }
コード例 #3
0
ファイル: ProductService.cs プロジェクト: JasonSoft/ShopTime
 public ProductService(IShopTimeToken token, ICollectionService collectionService, IDBConetxt repository)
 {
     _repository = repository;
     _token = token;
     _collectionService = collectionService;
 }
コード例 #4
0
ファイル: AuditInfo.cs プロジェクト: JasonSoft/ShopTime
 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;
 }