private void AddReverse(IReversibleConfiguredDataSourceFactory dataSourceFactory, bool isAutoReversal) { var reverseDataSourceFactory = dataSourceFactory.CreateReverseIfAppropriate(isAutoReversal); if (reverseDataSourceFactory != null) { DataSourceFactories.AddOrReplaceThenSort(reverseDataSourceFactory); } }
public bool AutoDataSourceReversalEnabled(IReversibleConfiguredDataSourceFactory dataSourceFactory) => AutoDataSourceReversalEnabled(dataSourceFactory.ConfigInfo);