예제 #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _policyLink = new policyDB.CollectionClasses.PolicyLinkCollection(new PolicyLinkEntityFactory());
            _policyLink.SetContainingEntityInfo(this, "Policy");
            _alwaysFetchPolicyLink = false;
            _alreadyFetchedPolicyLink = false;
            _rule = new policyDB.CollectionClasses.RuleCollection(new RuleEntityFactory());
            _rule.SetContainingEntityInfo(this, "Policy");
            _alwaysFetchRule = false;
            _alreadyFetchedRule = false;
            _decisionNodeCollectionViaRule = new policyDB.CollectionClasses.DecisionNodeCollection(new DecisionNodeEntityFactory());
            _alwaysFetchDecisionNodeCollectionViaRule = false;
            _alreadyFetchedDecisionNodeCollectionViaRule = false;
            _effectCollectionViaRule = new policyDB.CollectionClasses.EffectCollection(new EffectEntityFactory());
            _alwaysFetchEffectCollectionViaRule = false;
            _alreadyFetchedEffectCollectionViaRule = false;
            _policyLinkCollectionViaPolicyLink = new policyDB.CollectionClasses.PolicyLinkCollection(new PolicyLinkEntityFactory());
            _alwaysFetchPolicyLinkCollectionViaPolicyLink = false;
            _alreadyFetchedPolicyLinkCollectionViaPolicyLink = false;
            _combineMode = null;
            _combineModeReturnsNewIfNotFound = true;
            _alwaysFetchCombineMode = false;
            _alreadyFetchedCombineMode = false;
            _library = null;
            _libraryReturnsNewIfNotFound = true;
            _alwaysFetchLibrary = false;
            _alreadyFetchedLibrary = false;
            _target = null;
            _targetReturnsNewIfNotFound = true;
            _alwaysFetchTarget = false;
            _alreadyFetchedTarget = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _attributeValue = new policyDB.CollectionClasses.AttributeValueCollection(new AttributeValueEntityFactory());
            _attributeValue.SetContainingEntityInfo(this, "AttributeMatch");
            _alwaysFetchAttributeValue = false;
            _alreadyFetchedAttributeValue = false;
            _children = new policyDB.CollectionClasses.DecisionNodeCollection(new DecisionNodeEntityFactory());
            _children.SetContainingEntityInfo(this, "Parent");
            _alwaysFetchChildren = false;
            _alreadyFetchedChildren = false;
            _rule = new policyDB.CollectionClasses.RuleCollection(new RuleEntityFactory());
            _rule.SetContainingEntityInfo(this, "Condition");
            _alwaysFetchRule = false;
            _alreadyFetchedRule = false;
            _targetCondition = new policyDB.CollectionClasses.TargetConditionCollection(new TargetConditionEntityFactory());
            _targetCondition.SetContainingEntityInfo(this, "DecisionNode");
            _alwaysFetchTargetCondition = false;
            _alreadyFetchedTargetCondition = false;
            _attributeCollectionViaDecisionNode = new policyDB.CollectionClasses.AttributeCollection(new AttributeEntityFactory());
            _alwaysFetchAttributeCollectionViaDecisionNode = false;
            _alreadyFetchedAttributeCollectionViaDecisionNode = false;
            _attributeCollectionViaAttributeValue = new policyDB.CollectionClasses.AttributeCollection(new AttributeEntityFactory());
            _alwaysFetchAttributeCollectionViaAttributeValue = false;
            _alreadyFetchedAttributeCollectionViaAttributeValue = false;
            _effectCollectionViaRule = new policyDB.CollectionClasses.EffectCollection(new EffectEntityFactory());
            _alwaysFetchEffectCollectionViaRule = false;
            _alreadyFetchedEffectCollectionViaRule = false;
            _policyCollectionViaRule = new policyDB.CollectionClasses.PolicyCollection(new PolicyEntityFactory());
            _alwaysFetchPolicyCollectionViaRule = false;
            _alreadyFetchedPolicyCollectionViaRule = false;
            _targetCollectionViaTargetCondition = new policyDB.CollectionClasses.TargetCollection(new TargetEntityFactory());
            _alwaysFetchTargetCollectionViaTargetCondition = false;
            _alreadyFetchedTargetCollectionViaTargetCondition = false;
            _attribute = null;
            _attributeReturnsNewIfNotFound = true;
            _alwaysFetchAttribute = false;
            _alreadyFetchedAttribute = false;
            _parent = null;
            _parentReturnsNewIfNotFound = true;
            _alwaysFetchParent = false;
            _alreadyFetchedParent = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }