Exemplo n.º 1
0
        public Task <Release> GetAsync(string projectName, string revisionNumber)
        {
            var tableStore = TableStorageHelper.GetReleaseTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetRecordAsync(projectName, revisionNumber));
        }
Exemplo n.º 2
0
        public Task InsertOrReplaceAsync(Release release)
        {
            var tableStore = TableStorageHelper.GetReleaseTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.InsertOrReplaceAsync(release));
        }
Exemplo n.º 3
0
        public Task <IEnumerable <Release> > GetAllByProjectAsync(string projectName)
        {
            var tableStore = TableStorageHelper.GetReleaseTableStore(TableStorageConfig.ConnectionString);

            return(tableStore.GetByPartitionKeyAsync(projectName));
        }