Exemple #1
0
 protected void ValidateScopeRulesForIdcNaturalJoin(InitializationContext context, IRIFDataScope startScopeForValidation, Relationship relationship)
 {
     if (relationship != null && relationship.NaturalJoin)
     {
         context.ValidateScopeRulesForIdcNaturalJoin(startScopeForValidation);
     }
 }
        public override void ValidateScopeRulesForIdcNaturalJoin(InitializationContext context, IRIFDataScope scope)
        {
            Relationship activeRelationship = this.GetActiveRelationship(scope.DataScopeInfo.DataSet);

            base.ValidateScopeRulesForIdcNaturalJoin(context, scope, activeRelationship);
        }
Exemple #3
0
 protected void CheckContainerRelationshipForNaturalJoin(IRIFDataScope startScope, ErrorContext errorContext, IRIFDataScope scope, Relationship outerRelationship)
 {
     if (outerRelationship != null && !outerRelationship.NaturalJoin)
     {
         errorContext.Register(ProcessingErrorCode.rsInvalidRelationshipContainerNotNaturalJoin, Severity.Error, startScope.DataScopeObjectType, startScope.Name, "Relationship", scope.DataScopeObjectType.ToString(), scope.Name);
     }
 }