protected override string GetConflictReasonOrNull(ConfiguredDataSourceFactoryBase conflictingDataSource)
 {
     return(conflictingDataSource is ConfiguredDataSourceFactory dsf && dsf._isReversal
         ? " from an automatically-configured reverse data source" : null);
 }
 protected override string GetToTargetDescription(ConfiguredDataSourceFactoryBase conflictingDataSource)
 {
     return(TargetMember.IsRoot
         ? conflictingDataSource.IsSequential ? "ToTarget() " : "ToTargetInstead() "
         : null);
 }
 protected override bool HasSameCriteriaAs(ConfiguredDataSourceFactoryBase otherDataSource)
 => DataSourceLambda.IsSameAs(otherDataSource?.DataSourceLambda);
Exemple #4
0
 protected override string GetConflictReasonOrNull(ConfiguredDataSourceFactoryBase conflictingDataSource)
 => null;
Exemple #5
0
 protected override string GetToTargetDescription(ConfiguredDataSourceFactoryBase conflictingDataSource)
 => null;
Exemple #6
0
 protected override bool HasSameCriteriaAs(ConfiguredDataSourceFactoryBase otherDataSource)
 {
     return(otherDataSource is ConfiguredMatcherDataSourceFactory matcherDataSource &&
            HasSameCriteriaAs(matcherDataSource));
 }