Пример #1
0
 public RowLink[] FindRows(MultiIndexBlank index, params object[] keyParts)
 {
   List<RowLink> rows;
   if (multiIndicesByName[index.IndexName].TryGetValue(new UniversalKey(keyParts), out rows))
     return rows.ToArray();
   return new RowLink[0];
 }
Пример #2
0
 public RowLink FindRow(MultiIndexBlank index, params object[] keyParts)
 {
   RowLink[] rows = FindRows(index, keyParts);
   return rows.Length != 0 ? rows[0] : null;
 }