Esempio n. 1
0
        private static bool IsSecondaryIndex(SecondaryIndexTableEntity entity)
        {
            var isSecondaryIndex = entity.PartitionKey.StartsWith("Index_");
            var hasSagaIdSet     = entity.SagaId != Guid.Empty;

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