private static bool IsSecondaryIndex(SecondaryIndexTableEntity entity) { var isSecondaryIndex = entity.PartitionKey.StartsWith("Index_"); var hasSagaIdSet = entity.SagaId != Guid.Empty; return(isSecondaryIndex && hasSagaIdSet); }
private static bool IsSecondaryIndex(SecondaryIndexTableEntity entity) { var isSecondaryIndex = entity.PartitionKey.StartsWith("Index_"); var hasSagaIdSet = entity.SagaId != Guid.Empty; return isSecondaryIndex && hasSagaIdSet; }