Esempio n. 1
0
        private void AddReverse(IReversibleConfiguredDataSourceFactory dataSourceFactory, bool isAutoReversal)
        {
            var reverseDataSourceFactory = dataSourceFactory.CreateReverseIfAppropriate(isAutoReversal);

            if (reverseDataSourceFactory != null)
            {
                DataSourceFactories.AddOrReplaceThenSort(reverseDataSourceFactory);
            }
        }
Esempio n. 2
0
 public bool AutoDataSourceReversalEnabled(IReversibleConfiguredDataSourceFactory dataSourceFactory)
 => AutoDataSourceReversalEnabled(dataSourceFactory.ConfigInfo);