/// <summary> /// Is this build alreadiy fully populated. /// </summary> public async Task <bool> IsPopulated(BuildId buildId, CancellationToken cancellationToken = default(CancellationToken)) { var key = BuildResultEntity.GetExactEntityKey(buildId); var entity = await AzureUtil.QueryAsync <DynamicTableEntity>(_buildResultExactTable, key, cancellationToken); return(entity != null); }
public BuildResultEntity CopyDate() { var entity = new BuildResultEntity(this); entity.SetEntityKey(GetDateEntityKey(BuildDateTimeOffset, BuildId)); return(entity); }
public BuildResultEntity CopyExact() { var entity = new BuildResultEntity(this); entity.SetEntityKey(GetExactEntityKey(BuildId)); return(entity); }
public BuildResultEntity(BuildResultEntity other) : this( buildId : other.BuildId, buildDateTime : other.BuildDateTimeOffset, duration : other.Duration, jobKind : other.JobKind, machineName : other.MachineName, classification : other.Classification, prInfo : other.PullRequestInfo) { }