Exemple #1
0
        public AtsUserRepository(CloudStorageAccount storage, AtsUserServiceConfig config)
        {
            _defaultTenant = config.DefaultTenant;

            var client = storage.CreateCloudTableClient();

            _table = client.GetTableReference(config.TableName);
            _table.CreateIfNotExists();
        }
Exemple #2
0
 public AtsUserRepository(AtsUserServiceConfig config)
     : this(CloudStorageAccount.Parse(config.TableStorageConnectionString), config)
 {
 }
 public AtsUserService(AtsUserServiceConfig config, AtsUserRepository repo)
     : base(config, repo)
 {
 }