Ejemplo n.º 1
0
 public static void AddIndexMetaAndRef(
     SubordinateQueryIndexDesc[] indexDescs,
     EventTableIndexMetadata repo,
     string deploymentId,
     string statementName)
 {
     foreach (var desc in indexDescs) {
         if (desc.IndexName != null) {
             // this is handled by the create-index as it is an explicit index
         }
         else {
             repo.AddIndexNonExplicit(desc.IndexMultiKey, deploymentId, desc.QueryPlanIndexItem);
         }
     }
 }