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);
示例#4
0
 protected override string GetConflictReasonOrNull(ConfiguredDataSourceFactoryBase conflictingDataSource)
 => null;
示例#5
0
 protected override string GetToTargetDescription(ConfiguredDataSourceFactoryBase conflictingDataSource)
 => null;
示例#6
0
 protected override bool HasSameCriteriaAs(ConfiguredDataSourceFactoryBase otherDataSource)
 {
     return(otherDataSource is ConfiguredMatcherDataSourceFactory matcherDataSource &&
            HasSameCriteriaAs(matcherDataSource));
 }