Exemple #1
0
 protected void PerformSetsAndColumnsCheck(SettingsOrdinalResultSet.KeysChoice defaultKeysSet, SettingsOrdinalResultSet.ValuesChoice defaultValuesSet)
 {
     if ((keysSet != defaultKeysSet || valuesSet != defaultValuesSet) &&
         definitionColumns.Any(c => c.Identifier is ColumnNameIdentifier))
     {
         throw new InvalidOperationException("You cannot define an engine based on columns' index and specify some columns' definition where you explicitely give a value to the 'name' attribute. Use attribute 'index' in place of 'name'.");
     }
 }
Exemple #2
0
 public void Setup(SettingsOrdinalResultSet.KeysChoice keysSet, SettingsOrdinalResultSet.ValuesChoice valuesSet)
 {
     isBuild        = false;
     this.keysSet   = keysSet;
     this.valuesSet = valuesSet;
 }