protected BaseDataStore(ICosmosDbClientFactory factory, StorageConfiguration configuration, IMapper mapper) { Mapper = mapper; Configuration = configuration; Client = factory.CreateClient(); CollectionName = typeof(TModel).Name; }
public CosmosDbRepository(ICosmosDbClientFactory cosmosDbClientFactory, CosmosDbSettings cosmosDbSettings) { _cosmosDbClientFactory = cosmosDbClientFactory; _cosmosDbSettings = cosmosDbSettings; _container = _cosmosDbClientFactory.CosmosClient .GetContainer(_cosmosDbSettings.DatabaseName, ContainerName); }
protected CosmosDbRepository(ICosmosDbClientFactory cosmosDbClientFactory) { if (cosmosDbClientFactory == null) { throw new ArgumentException("cosmosDbClientFactory"); } if (string.IsNullOrWhiteSpace(CollectionName)) { throw new ArgumentException("collectionName"); } container = cosmosDbClientFactory.GetClient(CollectionName).GetContainer(cosmosDbClientFactory.Database, CollectionName); }
public CosmosDbRepository(ICosmosDbClientFactory cosmosDbClientFactory) { _cosmosDbClientFactory = cosmosDbClientFactory; }
//public IdentifiedVisitorRepo(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { } public IdentifiedVisitorGroupRepo(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
protected CosmosDbRepository(ICosmosDbClientFactory cosmosDbClientFactory) { _cosmosDbClientFactory = cosmosDbClientFactory; }
public SettingsDataStore(ICosmosDbClientFactory factory, StorageConfiguration configuration, IMapper mapper) : base(factory, configuration, mapper) { }
public CognitiveFileRepository(ICosmosDbClientFactory factory) : base(factory) { }
public CrowdDemographicsRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public TodoItemRepository(ICosmosDbClientFactory factory) : base(factory) { }
public FormRecognizerCosmosDbRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public CosmosDBSessionRepository(ICosmosDbClientFactory factory) : base(factory) { _cosmosDbClientFactory = factory; }
public PlotPointItemRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public StorageBootstrapper(ICosmosDbClientFactory factory, StorageConfiguration configuration) { _client = factory.CreateClient(); _configuration = configuration; }
public StudentRepository(ICosmosDbClientFactory factory) : base(factory) { }
public AgenteRepository(ICosmosDbClientFactory factory) : base(factory) { }
public TutorLearningProfileRepository(ICosmosDbClientFactory cosmosDbClientFactory, CosmosDbSettings cosmosDbSettings) : base(cosmosDbClientFactory, cosmosDbSettings) { }
public VisitorsRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public PessoaRepository(ICosmosDbClientFactory factory, IMapper mapper) : base(factory) { _mapper = mapper; }
public CosmosDbRepository(ICosmosDbClientFactory factory) { _factory = factory; }
public CamFrameAnalysisRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
/// <summary> /// Initializes a new instance of the <see cref="KeyValueMapperRepository"/> class. /// </summary> /// <param name="factory">the cosmos db factory</param> /// <param name="config">the config</param> public KeyValueMapperRepository(ICosmosDbClientFactory factory, IConfiguration config) : base(factory) { this.config = config; this.collectionName = this.config["CosmosDb:MetadataCollectionName"]; }
public UserAccountRepository(ICosmosDbClientFactory factory) : base(factory) { }
public CosmosDBUserRepository(ICosmosDbClientFactory factory) : base(factory) { _cosmosDbClientFactory = factory; }
public UserItemRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public TemplateCosmosRepository(ICosmosDbClientFactory factory) : base(factory) { }
public BlogRepository(ICosmosDbClientFactory factory) : base(factory) { }
public ChatMessageRepository(ICosmosDbClientFactory cosmosDbClientFactory, CosmosDbSettings cosmosDbSettings) : base(cosmosDbClientFactory, cosmosDbSettings) { }
public MaskAnalysisRepository(ICosmosDbClientFactory cosmosDbClientFactory) : base(cosmosDbClientFactory) { }
public NotificationRecordDataStore(ICosmosDbClientFactory factory, StorageConfiguration configuration, IMapper mapper) : base(factory, configuration, mapper) { }