コード例 #1
0
        /// <summary> Initializes the class members</summary>
        private void InitClassMembers()
        {
            _policy = new policyDB.CollectionClasses.PolicyCollection(new PolicyEntityFactory());
            _policy.SetContainingEntityInfo(this, "Target");
            _alwaysFetchPolicy = false;
            _alreadyFetchedPolicy = false;
            _targetCondition = new policyDB.CollectionClasses.TargetConditionCollection(new TargetConditionEntityFactory());
            _targetCondition.SetContainingEntityInfo(this, "Target");
            _alwaysFetchTargetCondition = false;
            _alreadyFetchedTargetCondition = false;
            _combineModeCollectionViaPolicy = new policyDB.CollectionClasses.CombineModeCollection(new CombineModeEntityFactory());
            _alwaysFetchCombineModeCollectionViaPolicy = false;
            _alreadyFetchedCombineModeCollectionViaPolicy = false;
            _conditionCollectionViaTargetCondition = new policyDB.CollectionClasses.DecisionNodeCollection(new DecisionNodeEntityFactory());
            _alwaysFetchConditionCollectionViaTargetCondition = false;
            _alreadyFetchedConditionCollectionViaTargetCondition = false;
            _libraryCollectionViaPolicy = new policyDB.CollectionClasses.LibraryCollection(new LibraryEntityFactory());
            _alwaysFetchLibraryCollectionViaPolicy = false;
            _alreadyFetchedLibraryCollectionViaPolicy = false;

            PerformDependencyInjection();

            // __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
            // __LLBLGENPRO_USER_CODE_REGION_END
            OnInitClassMembersComplete();
        }
コード例 #2
0
        /// <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();
        }