public async Task CreateTables()

in code/Storage/StorageManager.cs [118:163]


        public async Task CreateTables()
        {
            List<Task> tasks = new List<Task>();

            if (this.RegionsListStore != null)
            {
                tasks.Add(this.RegionsListStore.CreateTable());
            }

            if (this.RegionStore != null)
            {
                tasks.Add(this.RegionStore.CreateTable());
            }

            if (this.AgencyStore != null)
            {
                tasks.Add(this.AgencyStore.CreateTable());
            }

            if (this.RouteStore != null)
            {
                tasks.Add(this.RouteStore.CreateTable());
            }

            if (this.StopStore != null)
            {
                tasks.Add(this.StopStore.CreateTable());
            }

            if (this.DownloadMetadataStore != null)
            {
                tasks.Add(this.DownloadMetadataStore.CreateTable());
            }

            if (this.DiffMetadataStore != null)
            {
                tasks.Add(this.DiffMetadataStore.CreateTable());
            }

            if (this.PublishMetadataStore != null)
            {
                tasks.Add(this.PublishMetadataStore.CreateTable());
            }

            await Task.WhenAll(tasks.ToArray());
        }